Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9341/0.9341, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.151e-05, allocations: 2.312 kB / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003638/0.00365, allocations: 4.836 MB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.005535, allocations: 1.314 MB / 279.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.005745, allocations: 15.88 kB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.005952, allocations: 118.8 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.00627, allocations: 273.4 kB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.006766, allocations: 319.3 kB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007432/0.00751, allocations: 1.126 MB / 281.5 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.007737, allocations: 200.9 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.008228, allocations: 0.6119 MB / 282.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.00856, allocations: 367 kB / 282.7 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.008644, allocations: 92 kB / 282.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.008786, allocations: 116 kB / 282.9 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.008892, allocations: 211.2 kB / 283.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.009086, allocations: 323.2 kB / 283.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.009603, allocations: 0.7201 MB / 284.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.009605, allocations: 0 / 284.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009605, allocations: 0 / 284.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.009613, allocations: 0 / 284.1 MB, free: 6.438 MB / 266.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.001171/0.01078, allocations: 1.165 MB / 285.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.01081, allocations: 8.031 kB / 285.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.01092, allocations: 112.8 kB / 285.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.01141, allocations: 345.4 kB / 285.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.01144, allocations: 49.69 kB / 285.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.0115, allocations: 68.38 kB / 285.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.012, allocations: 0.5664 MB / 286.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01201, allocations: 4.188 kB / 286.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.01205, allocations: 24.38 kB / 286.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01206, allocations: 19.94 kB / 286.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.01233, allocations: 214.3 kB / 286.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.01398, allocations: 1.461 MB / 288.1 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.01428, allocations: 260.4 kB / 288.4 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.0144, allocations: 119 kB / 288.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.01443, allocations: 12.48 kB / 288.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.01472, allocations: 406.8 kB / 288.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.463e-06/0.01472, allocations: 0 / 288.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1361/0.1508, allocations: 10.67 MB / 299.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1508, allocations: 146.8 kB / 299.7 MB, free: 24.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.1511, allocations: 484.8 kB / 300.2 MB, free: 24.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.1512, allocations: 39.92 kB / 300.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1513, allocations: 337.3 kB / 300.6 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.1515, allocations: 336.3 kB / 300.9 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.1517, allocations: 182.5 kB / 301.1 MB, free: 24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.1518, allocations: 391 kB / 301.5 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.1521, allocations: 241.1 kB / 301.7 MB, free: 23.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.1524, allocations: 0.5473 MB / 302.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.1531, allocations: 0.7533 MB / 303 MB, free: 22.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.1531, allocations: 2.844 kB / 303 MB, free: 22.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01244/0.1656, allocations: 3.095 MB / 306.1 MB, free: 19.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.1656, allocations: 67.27 kB / 306.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.1656, allocations: 8 kB / 306.2 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/0.1769, allocations: 5.023 MB / 311.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.1772, allocations: 130.7 kB / 311.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/0.1851, allocations: 5.303 MB / 316.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/0.186, allocations: 119.9 kB / 316.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.186, allocations: 35.97 kB / 316.8 MB, free: 9.691 MB / 266.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 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,32,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.1862, allocations: 177.4 kB / 316.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1863, allocations: 79.92 kB / 317 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00617/0.1925, allocations: 2.825 MB / 319.9 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.1925, allocations: 8 kB / 319.9 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/0.1926, allocations: 8.75 kB / 319.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.1926, allocations: 3.984 kB / 319.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.1932, allocations: 0.516 MB / 320.4 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1932, allocations: 4 kB / 320.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1934, allocations: 70.94 kB / 320.5 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02003/0.2134, allocations: 4.977 MB / 325.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.2136, allocations: 27.69 kB / 325.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009311/0.2229, allocations: 5.278 MB / 330.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2229, allocations: 0 / 330.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006662/0.2295, allocations: 3.012 MB / 333.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2297, allocations: 63.48 kB / 333.8 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.2298, allocations: 16 kB / 333.8 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.2302, allocations: 115.9 kB / 333.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.2304, allocations: 112.8 kB / 334.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.2305, allocations: 27.97 kB / 334.1 MB, free: 8.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.2306, allocations: 206.6 kB / 334.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2306, allocations: 0 / 334.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008456/0.2315, allocations: 356 kB / 334.6 MB, free: 7.855 MB / 282.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,32,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002101/0.2317, allocations: 113 kB / 334.7 MB, free: 7.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.2335, allocations: 1.299 MB / 336 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.2335, allocations: 12.06 kB / 336.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.2346, allocations: 0.8102 MB / 336.9 MB, free: 5.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.235, allocations: 156.9 kB / 337 MB, free: 5.434 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.237, allocations: 1.463 MB / 338.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2372, allocations: 188.5 kB / 338.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.2373, allocations: 55.92 kB / 338.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.2376, allocations: 169.3 kB / 338.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2376, allocations: 0 / 338.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of Templates: time 0.02951/0.2671, allocations: 29.81 MB / 368.7 MB, free: 5.965 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3811053801327944]