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.001428/0.001428, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.87/1.87, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001134/0.001134, allocations: 92.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005319, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3291, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4493, allocations: 77.24 MB / 451.8 MB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4496, allocations: 75.91 kB / 451.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.461, allocations: 2.752 MB / 454.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.461, allocations: 0 / 454.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.461, allocations: 4 kB / 454.6 MB, free: 0.6758 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.0006555/0.4617, allocations: 419.1 kB / 455 MB, free: 220 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4618, allocations: 11.97 kB / 455 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.4619, allocations: 15.81 kB / 455 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.4622, allocations: 211.9 kB / 455.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4622, allocations: 16.17 kB / 455.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.4622, allocations: 12 kB / 455.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.4626, allocations: 119.5 kB / 455.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4626, allocations: 0 / 455.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.4627, allocations: 4 kB / 455.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4627, allocations: 4 kB / 455.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.463, allocations: 80.67 kB / 455.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4641, allocations: 0.6145 MB / 456.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.4646, allocations: 82.62 kB / 456.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4646, allocations: 0 / 456.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4647, allocations: 30.56 kB / 456.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.4647, allocations: 0 / 456.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001043/0.4657, allocations: 259.5 kB / 456.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.4658, allocations: 59.36 kB / 456.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.466, allocations: 138.8 kB / 456.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.466, allocations: 33.7 kB / 456.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4661, allocations: 190.3 kB / 456.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.4662, allocations: 19.73 kB / 456.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.4662, allocations: 4 kB / 456.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4663, allocations: 314.8 kB / 457.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.4664, allocations: 25.98 kB / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.4666, allocations: 46.56 kB / 457.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.4667, allocations: 24 kB / 457.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4667, allocations: 4 kB / 457.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000468/0.4672, allocations: 146.2 kB / 457.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4672, allocations: 4 kB / 457.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4673, allocations: 0 / 457.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.4675, allocations: 40.83 kB / 457.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4677, allocations: 8 kB / 457.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.4697, allocations: 1.53 MB / 459 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4698, allocations: 7.984 kB / 459 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4699, allocations: 0 / 459 MB, free: 11.84 MB / 346.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 () * Number of clocked 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.0001488/0.47, allocations: 129.7 kB / 459.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.4701, allocations: 11.81 kB / 459.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.4701, allocations: 12.72 kB / 459.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4701, allocations: 0 / 459.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4701, allocations: 0 / 459.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4701, allocations: 4 kB / 459.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4705, allocations: 217.5 kB / 459.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4705, allocations: 7.984 kB / 459.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.4705, allocations: 4 kB / 459.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.4708, allocations: 36.83 kB / 459.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.4708, allocations: 0 / 459.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.4726, allocations: 1.511 MB / 460.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4726, allocations: 3.953 kB / 460.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.4731, allocations: 224.3 kB / 461.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.4732, allocations: 84.97 kB / 461.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4732, allocations: 4 kB / 461.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4734, allocations: 4 kB / 461.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.4734, allocations: 11.98 kB / 461.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4735, allocations: 4 kB / 461.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4736, allocations: 114 kB / 461.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4736, allocations: 0 / 461.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.4741, allocations: 43.84 kB / 461.4 MB, free: 9.203 MB / 346.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 () * Number of clocked 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.000134/0.4742, allocations: 95.25 kB / 461.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.4748, allocations: 203.2 kB / 461.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4748, allocations: 0 / 461.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.4751, allocations: 158.6 kB / 461.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.4754, allocations: 11.95 kB / 461.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.4762, allocations: 384 kB / 462.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4765, allocations: 0.7082 MB / 463 MB, free: 7.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.4766, allocations: 11.44 kB / 463 MB, free: 7.559 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4766, allocations: 0 / 463 MB, free: 7.559 MB / 346.7 MB Notification: Performance of Templates: time 0.00474/0.4813, allocations: 1.831 MB / 464.8 MB, free: 5.727 MB / 346.7 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