Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 89.52 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002379, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2294, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.3326, allocations: 83.06 MB / 484.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3329, allocations: 76.59 kB / 484.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03417/0.367, allocations: 12.73 MB / 497.3 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3671, allocations: 4 kB / 497.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.3671, allocations: 19.98 kB / 497.4 MB, free: 0.5625 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002409/0.3696, allocations: 1.147 MB / 498.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3696, allocations: 8.031 kB / 498.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.3698, allocations: 90.88 kB / 498.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.3706, allocations: 0.5076 MB / 499.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.3707, allocations: 45.31 kB / 499.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3708, allocations: 75.86 kB / 499.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.3721, allocations: 0.6702 MB / 499.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3722, allocations: 3.984 kB / 499.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.3722, allocations: 24 kB / 499.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3723, allocations: 16 kB / 500 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.3738, allocations: 0.7508 MB / 0.489 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.3775, allocations: 2.345 MB / 0.4913 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.3789, allocations: 0.6441 MB / 0.4919 GB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.3789, allocations: 4.438 kB / 0.4919 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008986/0.3798, allocations: 453.4 kB / 0.4923 GB, free: 9.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 2.194e-06/0.3799, allocations: 0 / 0.4923 GB, free: 9.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.295/0.6749, allocations: 16.52 MB / 0.5085 GB, free: 95.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.675, allocations: 144.8 kB / 0.5086 GB, free: 95.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.6756, allocations: 464.8 kB / 0.509 GB, free: 95.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.6758, allocations: 45.3 kB / 0.5091 GB, free: 95.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.676, allocations: 387.7 kB / 0.5095 GB, free: 95.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.6762, allocations: 322.3 kB / 0.5098 GB, free: 94.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.6763, allocations: 18.28 kB / 0.5098 GB, free: 94.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.6764, allocations: 390.9 kB / 0.5102 GB, free: 94.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.6781, allocations: 0.7937 MB / 0.5109 GB, free: 94.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.68, allocations: 1.026 MB / 0.5119 GB, free: 94.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.6818, allocations: 0.879 MB / 0.5128 GB, free: 94.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6818, allocations: 3.688 kB / 0.5128 GB, free: 94.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02249/0.7043, allocations: 5.628 MB / 0.5183 GB, free: 92.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/0.7045, allocations: 69.92 kB / 0.5184 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.7045, allocations: 4 kB / 0.5184 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0352/0.7397, allocations: 7.326 MB / 0.5255 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.7406, allocations: 179.7 kB / 0.5257 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/0.7461, allocations: 3.074 MB / 0.5287 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.748, allocations: 223.8 kB / 0.5289 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.7482, allocations: 47.97 kB / 0.5289 GB, free: 82.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.7487, allocations: 221.7 kB / 0.5292 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.749, allocations: 82.97 kB / 0.5292 GB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02212/0.7711, allocations: 5.47 MB / 0.5346 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.7712, allocations: 8 kB / 0.5346 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.7712, allocations: 0 / 0.5346 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/0.7712, allocations: 11.03 kB / 0.5346 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.773, allocations: 1.1 MB / 0.5357 GB, free: 75.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.7731, allocations: 7.984 kB / 0.5357 GB, free: 75.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.7736, allocations: 127.8 kB / 0.5358 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0355/0.8092, allocations: 7.291 MB / 0.5429 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000384/0.8096, allocations: 27.92 kB / 0.5429 GB, free: 67.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.816, allocations: 3.222 MB / 0.5461 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8161, allocations: 0 / 0.5461 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/0.8408, allocations: 6.423 MB / 0.5524 GB, free: 58.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.8413, allocations: 152 kB / 0.5525 GB, free: 57.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.8416, allocations: 20 kB / 0.5525 GB, free: 57.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.8433, allocations: 211.8 kB / 0.5527 GB, free: 57.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.8436, allocations: 108.8 kB / 0.5528 GB, free: 57.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.8437, allocations: 29.67 kB / 0.5529 GB, free: 57.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005808/0.8443, allocations: 350.8 kB / 0.5532 GB, free: 57.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8443, allocations: 1.781 kB / 0.5532 GB, free: 57.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001261/0.8456, allocations: 271.6 kB / 0.5535 GB, free: 57.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.846, allocations: 134.4 kB / 0.5536 GB, free: 56.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005772/0.8518, allocations: 2.183 MB / 0.5557 GB, free: 54.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.8518, allocations: 7.062 kB / 0.5557 GB, free: 54.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004373/0.8562, allocations: 1.29 MB / 0.557 GB, free: 53.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.8573, allocations: 117.1 kB / 0.5571 GB, free: 53.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.8618, allocations: 2.096 MB / 0.5591 GB, free: 51.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.8623, allocations: 0.9665 MB / 0.5601 GB, free: 50.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003935/0.8627, allocations: 56.62 kB / 0.5601 GB, free: 50.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.8629, allocations: 39.42 kB / 0.5602 GB, free: 50.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.795e-06/0.8629, allocations: 4 kB / 0.5602 GB, free: 50.07 MB / 378.7 MB Notification: Performance of Templates: time 0.02697/0.8899, allocations: 19.82 MB / 0.5795 GB, free: 30.41 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches