Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.3 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 105.8 kB / 281.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.459e-05, allocations: 4 kB / 337 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 50.41 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/0.4287, allocations: 81.07 MB / 468.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4289, allocations: 75.95 kB / 468.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.4469, allocations: 6.525 MB / 475.1 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4469, allocations: 0 / 475.1 MB, free: 7.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.447, allocations: 8 kB / 475.1 MB, free: 7.109 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.00128/0.4482, allocations: 0.6996 MB / 475.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4483, allocations: 12.03 kB / 475.8 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.532e-05/0.4484, allocations: 47.44 kB / 475.9 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.4489, allocations: 322.9 kB / 476.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4489, allocations: 16 kB / 476.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.449, allocations: 20 kB / 476.2 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005605/0.4495, allocations: 337.4 kB / 476.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.4501, allocations: 368 kB / 476.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4502, allocations: 0 / 476.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.4502, allocations: 0 / 476.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4502, allocations: 8 kB / 476.9 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.4527, allocations: 1.496 MB / 478.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.4534, allocations: 356.7 kB / 478.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.4537, allocations: 169.9 kB / 478.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.4537, allocations: 16.3 kB / 479 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.4538, allocations: 42.89 kB / 479 MB, free: 3.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 3.837e-06/0.4538, allocations: 0 / 479 MB, free: 3.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001299/0.4551, allocations: 496.8 kB / 479.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.4552, allocations: 158.2 kB / 479.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.4554, allocations: 214.3 kB / 479.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.4554, allocations: 25.7 kB / 479.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4556, allocations: 212.3 kB / 480.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4557, allocations: 134 kB / 480.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.4557, allocations: 0 / 480.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4559, allocations: 346.8 kB / 480.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.4561, allocations: 112.9 kB / 480.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.4563, allocations: 209.8 kB / 480.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.4566, allocations: 131.8 kB / 481 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4566, allocations: 0 / 481 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001539/0.4582, allocations: 0.6313 MB / 481.6 MB, free: 256 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4582, allocations: 4 kB / 481.6 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4582, allocations: 4 kB / 481.6 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008496/0.4591, allocations: 253.6 kB / 481.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.4595, allocations: 79.89 kB / 482 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.4606, allocations: 1.344 MB / 483.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.4611, allocations: 83.67 kB / 483.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.4611, allocations: 16 kB / 483.4 MB, free: 14.42 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 () * 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.0001226/0.4613, allocations: 108.9 kB / 483.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.4613, allocations: 35.56 kB / 483.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.463, allocations: 0.6033 MB / 484.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.463, allocations: 4 kB / 484.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.463, allocations: 0 / 484.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.463, allocations: 3.984 kB / 484.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.4636, allocations: 406.1 kB / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4636, allocations: 0 / 484.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.4639, allocations: 67.89 kB / 484.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007666/0.4647, allocations: 259.2 kB / 484.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.4647, allocations: 11.94 kB / 484.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.4657, allocations: 1.347 MB / 486.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4658, allocations: 0 / 486.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.4675, allocations: 0.8322 MB / 487.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/0.4676, allocations: 120.6 kB / 487.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.4677, allocations: 0 / 487.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4681, allocations: 55.95 kB / 487.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.4681, allocations: 27.95 kB / 487.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.4682, allocations: 19.95 kB / 487.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.4683, allocations: 166 kB / 487.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4683, allocations: 3.938 kB / 487.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000405/0.4687, allocations: 91.84 kB / 487.5 MB, free: 10.13 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 () * 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.0001997/0.4689, allocations: 111.2 kB / 487.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.4697, allocations: 339.7 kB / 488 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4697, allocations: 0 / 488 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.47, allocations: 191.8 kB / 488.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4703, allocations: 36.45 kB / 488.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4717, allocations: 0.5858 MB / 488.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.4721, allocations: 0.8073 MB / 489.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.4723, allocations: 31.27 kB / 489.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.4724, allocations: 23.44 kB / 489.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4724, allocations: 0 / 489.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of Templates: time 0.009092/0.4815, allocations: 4.879 MB / 494.5 MB, free: 3.094 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches