Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 180.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 78.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 5.576e-05/5.541e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3469, allocations: 47.55 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4714, allocations: 76.49 MB / 438.8 MB, free: 9.832 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4717, allocations: 69 kB / 438.9 MB, free: 9.766 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.4833, allocations: 2.729 MB / 441.6 MB, free: 7.066 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4833, allocations: 0 / 441.6 MB, free: 7.066 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4833, allocations: 4 kB / 441.6 MB, free: 7.062 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006349/0.484, allocations: 405.2 kB / 442 MB, free: 6.621 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4841, allocations: 12.03 kB / 442 MB, free: 6.609 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.4842, allocations: 11.91 kB / 442 MB, free: 6.598 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.4845, allocations: 202.8 kB / 442.2 MB, free: 6.359 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4845, allocations: 7.953 kB / 442.2 MB, free: 6.352 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4846, allocations: 11.53 kB / 442.3 MB, free: 6.344 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002307/0.4848, allocations: 64.45 kB / 442.3 MB, free: 6.281 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.4851, allocations: 87.25 kB / 442.4 MB, free: 6.191 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4851, allocations: 4 kB / 442.4 MB, free: 6.188 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.4851, allocations: 0 / 442.4 MB, free: 6.188 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4852, allocations: 0 / 442.4 MB, free: 6.188 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.4863, allocations: 0.5747 MB / 443 MB, free: 5.547 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.4867, allocations: 82.58 kB / 443.1 MB, free: 5.457 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.4868, allocations: 24.98 kB / 443.1 MB, free: 5.43 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.4868, allocations: 0 / 443.1 MB, free: 5.43 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.4869, allocations: 36.31 kB / 443.1 MB, free: 5.387 MB / 331.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.4869, allocations: 0 / 443.1 MB, free: 5.387 MB / 331.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004216/0.4873, allocations: 102.4 kB / 443.2 MB, free: 5.277 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4874, allocations: 55.39 kB / 443.3 MB, free: 5.211 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.4875, allocations: 132.7 kB / 443.4 MB, free: 5.074 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.4876, allocations: 25.7 kB / 443.4 MB, free: 5.043 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4877, allocations: 190.4 kB / 443.6 MB, free: 4.852 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.4877, allocations: 15.72 kB / 443.6 MB, free: 4.836 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.4878, allocations: 0 / 443.6 MB, free: 4.836 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4879, allocations: 318.8 kB / 443.9 MB, free: 4.516 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.488, allocations: 20 kB / 444 MB, free: 4.496 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.4881, allocations: 37.3 kB / 444 MB, free: 4.453 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.4881, allocations: 23.97 kB / 444 MB, free: 4.43 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4881, allocations: 0 / 444 MB, free: 4.43 MB / 331.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003714/0.4885, allocations: 111.3 kB / 444.1 MB, free: 4.312 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4886, allocations: 10.72 kB / 444.1 MB, free: 4.305 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4886, allocations: 3.938 kB / 444.1 MB, free: 4.301 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.4889, allocations: 40.83 kB / 444.2 MB, free: 4.258 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.489, allocations: 8 kB / 444.2 MB, free: 4.25 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.4908, allocations: 1.443 MB / 445.6 MB, free: 2.691 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4909, allocations: 7.938 kB / 445.6 MB, free: 2.684 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.491, allocations: 4 kB / 445.6 MB, free: 2.68 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.4911, allocations: 113.9 kB / 445.8 MB, free: 2.562 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.4912, allocations: 16.78 kB / 445.8 MB, free: 2.547 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.4912, allocations: 8.625 kB / 445.8 MB, free: 2.539 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4912, allocations: 3.984 kB / 445.8 MB, free: 2.535 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4912, allocations: 4 kB / 445.8 MB, free: 2.531 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4912, allocations: 0 / 445.8 MB, free: 2.531 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4915, allocations: 174.2 kB / 446 MB, free: 2.324 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4915, allocations: 3.953 kB / 446 MB, free: 2.32 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.4916, allocations: 4.5 kB / 446 MB, free: 2.316 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.4918, allocations: 44.86 kB / 446 MB, free: 2.27 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4919, allocations: 0.8125 kB / 446 MB, free: 2.27 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.4936, allocations: 1.448 MB / 447.5 MB, free: 0.7148 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4936, allocations: 0 / 447.5 MB, free: 0.7148 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.494, allocations: 200.2 kB / 447.7 MB, free: 0.5 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.4941, allocations: 85.02 kB / 447.7 MB, free: 408 kB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4941, allocations: 0 / 447.7 MB, free: 408 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4943, allocations: 12.05 kB / 447.7 MB, free: 396 kB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.4944, allocations: 7.953 kB / 447.8 MB, free: 388 kB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4944, allocations: 10.14 kB / 447.8 MB, free: 380 kB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4945, allocations: 105.7 kB / 447.9 MB, free: 276 kB / 331.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4945, allocations: 0 / 447.9 MB, free: 276 kB / 331.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.495, allocations: 35.91 kB / 447.9 MB, free: 240 kB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.4952, allocations: 95.25 kB / 448 MB, free: 132 kB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.4956, allocations: 166.4 kB / 448.2 MB, free: 15.96 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4957, allocations: 3.938 kB / 448.2 MB, free: 15.95 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.4959, allocations: 145.6 kB / 448.3 MB, free: 15.8 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4962, allocations: 12.81 kB / 448.3 MB, free: 15.79 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.4968, allocations: 175.3 kB / 448.5 MB, free: 15.59 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4971, allocations: 0.708 MB / 449.2 MB, free: 14.85 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4972, allocations: 11.44 kB / 449.2 MB, free: 14.84 MB / 347.1 MB Notification: Performance of SimCode: time 1.724e-06/0.4972, allocations: 0 / 449.2 MB, free: 14.84 MB / 347.1 MB Notification: Performance of Templates: time 0.004968/0.5022, allocations: 1.817 MB / 451 MB, free: 13.04 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches