Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001007/0.001007, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.76e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4562, allocations: 77.14 MB / 447.2 MB, free: 116 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4565, allocations: 71.7 kB / 447.2 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007292/0.4638, allocations: 2.74 MB / 450 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4638, allocations: 4 kB / 450 MB, free: 13.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4638, allocations: 0 / 450 MB, free: 13.72 MB / 330.7 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.0004639/0.4643, allocations: 408.9 kB / 450.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4644, allocations: 8.031 kB / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4645, allocations: 15.91 kB / 450.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4647, allocations: 203.6 kB / 450.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4647, allocations: 12.47 kB / 450.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.4648, allocations: 11.19 kB / 450.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.465, allocations: 114.1 kB / 450.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.465, allocations: 0 / 450.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.465, allocations: 7 kB / 450.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.465, allocations: 4 kB / 450.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.4652, allocations: 72.31 kB / 450.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.466, allocations: 0.6062 MB / 451.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.4663, allocations: 80.89 kB / 451.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.4663, allocations: 24.17 kB / 451.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4664, allocations: 15.91 kB / 451.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4664, allocations: 38.25 kB / 451.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4664, allocations: 0 / 451.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003105/0.4667, allocations: 100.6 kB / 451.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4668, allocations: 59.36 kB / 451.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4669, allocations: 136.2 kB / 451.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.467, allocations: 25.7 kB / 451.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.4671, allocations: 130.7 kB / 452 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4671, allocations: 23.45 kB / 452 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.4671, allocations: 0 / 452 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4673, allocations: 318.3 kB / 452.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.4673, allocations: 19.31 kB / 452.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.4674, allocations: 37.89 kB / 452.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.4674, allocations: 27.3 kB / 452.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4674, allocations: 0 / 452.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002335/0.4677, allocations: 123.9 kB / 452.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4677, allocations: 11.94 kB / 452.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4677, allocations: 0 / 452.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.4679, allocations: 40.14 kB / 452.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.468, allocations: 12.06 kB / 452.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.4694, allocations: 1.504 MB / 454.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.4695, allocations: 15.89 kB / 454.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4695, allocations: 7.953 kB / 454.1 MB, free: 9.535 MB / 330.7 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 8.218e-05/0.4696, allocations: 108.2 kB / 454.2 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.4697, allocations: 7.906 kB / 454.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.4697, allocations: 16.19 kB / 454.3 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4697, allocations: 0 / 454.3 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.4697, allocations: 0 / 454.3 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4697, allocations: 3.984 kB / 454.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.47, allocations: 215.8 kB / 454.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.47, allocations: 0 / 454.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.47, allocations: 7.938 kB / 454.5 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.4701, allocations: 32.91 kB / 454.5 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4702, allocations: 3.984 kB / 454.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.4714, allocations: 1.504 MB / 456 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/0.4714, allocations: 12.08 kB / 456 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.4717, allocations: 203.1 kB / 456.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.4717, allocations: 92.91 kB / 456.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.4718, allocations: 3.938 kB / 456.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.4719, allocations: 7.906 kB / 456.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.4719, allocations: 15.8 kB / 456.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4719, allocations: 0 / 456.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.472, allocations: 110.2 kB / 456.5 MB, free: 7.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.472, allocations: 0 / 456.5 MB, free: 7.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.4723, allocations: 32 kB / 456.5 MB, free: 7.121 MB / 330.7 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.0001333/0.4725, allocations: 104.1 kB / 456.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.4728, allocations: 186.4 kB / 456.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4728, allocations: 0 / 456.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.473, allocations: 150.8 kB / 456.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.4732, allocations: 13.03 kB / 456.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.4735, allocations: 150.2 kB / 457.1 MB, free: 6.527 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.4738, allocations: 0.7121 MB / 457.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.126e-05/0.4738, allocations: 4.438 kB / 457.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.4739, allocations: 15.42 kB / 457.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4739, allocations: 0 / 457.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of Templates: time 0.003697/0.4776, allocations: 1.325 MB / 459.1 MB, free: 4.461 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches