Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 181.3 kB / 17.01 MB, free: 5.121 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.783/1.783, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009266/0.0009265, allocations: 88.2 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 7.984 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3381, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09324/0.4314, allocations: 80.43 MB / 456.2 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4317, allocations: 67.97 kB / 456.3 MB, free: 176 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4488, allocations: 6.459 MB / 462.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4488, allocations: 0 / 462.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.4488, allocations: 11.94 kB / 462.8 MB, free: 9.668 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001298/0.4501, allocations: 0.7485 MB / 463.5 MB, free: 8.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4502, allocations: 8.031 kB / 463.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.4503, allocations: 51.38 kB / 463.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4506, allocations: 297.4 kB / 463.9 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4507, allocations: 29 kB / 463.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.4507, allocations: 36 kB / 463.9 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4517, allocations: 0.5318 MB / 464.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4518, allocations: 0 / 464.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.4518, allocations: 16 kB / 464.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4518, allocations: 8 kB / 464.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.4531, allocations: 0.5623 MB / 465 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.4555, allocations: 1.579 MB / 466.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4566, allocations: 470 kB / 467.1 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.4567, allocations: 8.328 kB / 467.1 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.4567, allocations: 42.83 kB / 467.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.4567, allocations: 4 kB / 467.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.00459/0.4613, allocations: 1.432 MB / 468.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.4614, allocations: 174.2 kB / 468.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.4617, allocations: 234.1 kB / 469 MB, free: 3.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.4618, allocations: 29.7 kB / 469 MB, free: 3.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.4619, allocations: 216.3 kB / 469.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4621, allocations: 134 kB / 469.3 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.4621, allocations: 8 kB / 469.3 MB, free: 2.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4622, allocations: 342.8 kB / 469.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.4627, allocations: 204.8 kB / 469.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.4633, allocations: 298.5 kB / 470.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.4638, allocations: 219.8 kB / 470.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4638, allocations: 0 / 470.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002132/0.4659, allocations: 0.8303 MB / 471.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4659, allocations: 8 kB / 471.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.466, allocations: 3.984 kB / 471.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.4673, allocations: 337.4 kB / 471.6 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4676, allocations: 87.88 kB / 471.6 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.4688, allocations: 1.366 MB / 473 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.4693, allocations: 91.72 kB / 473.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.4693, allocations: 15.98 kB / 473.1 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.4696, allocations: 165.7 kB / 473.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.4696, allocations: 31.62 kB / 473.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.4717, allocations: 0.794 MB / 474.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4717, allocations: 8 kB / 474.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4717, allocations: 0 / 474.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4717, allocations: 3.984 kB / 474.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.4723, allocations: 461.1 kB / 474.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4723, allocations: 0 / 474.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.4726, allocations: 71.89 kB / 474.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.4738, allocations: 340 kB / 475 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.4738, allocations: 8 kB / 475 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.475, allocations: 1.379 MB / 476.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.475, allocations: 4.125 kB / 476.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4775, allocations: 1.101 MB / 477.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4777, allocations: 108.7 kB / 477.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.4777, allocations: 12 kB / 477.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.4781, allocations: 64 kB / 477.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4782, allocations: 19.97 kB / 477.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.4782, allocations: 15.94 kB / 477.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.4785, allocations: 193.9 kB / 477.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4785, allocations: 0 / 477.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004383/0.479, allocations: 115.7 kB / 478 MB, free: 9.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002434/0.4792, allocations: 111.9 kB / 478.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.4805, allocations: 0.5109 MB / 478.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4805, allocations: 4 kB / 478.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.4811, allocations: 276.3 kB / 478.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4815, allocations: 46.7 kB / 478.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.4832, allocations: 1.076 MB / 480 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4836, allocations: 0.8037 MB / 480.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.4837, allocations: 30.97 kB / 480.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.4838, allocations: 23.44 kB / 480.8 MB, free: 6.895 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4838, allocations: 4 kB / 480.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of Templates: time 0.008921/0.4927, allocations: 5.215 MB / 486.1 MB, free: 1.695 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches