Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9622/0.9622, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.807e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00469/0.004718, allocations: 4.857 MB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.007722, allocations: 1.276 MB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.008375, allocations: 15.94 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.008697, allocations: 126.7 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.009224, allocations: 273.5 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.01005, allocations: 311.4 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.01122, allocations: 1.138 MB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.01157, allocations: 182.9 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.0124, allocations: 0.6159 MB / 281.7 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.0132, allocations: 367 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.01333, allocations: 96 kB / 282.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.01353, allocations: 116 kB / 282.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01364, allocations: 203.2 kB / 282.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.0139, allocations: 319.2 kB / 282.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008141/0.01471, allocations: 0.7202 MB / 283.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.01472, allocations: 0 / 283.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01472, allocations: 0 / 283.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.01474, allocations: 0 / 283.5 MB, free: 6.809 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.001755/0.01649, allocations: 1.278 MB / 284.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01653, allocations: 11.98 kB / 284.8 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.01671, allocations: 152.3 kB / 284.9 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.01719, allocations: 432.2 kB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.01723, allocations: 49.69 kB / 285.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.0173, allocations: 68.33 kB / 285.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.01805, allocations: 0.6055 MB / 286.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.01807, allocations: 192 / 286.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.01811, allocations: 28.38 kB / 286.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.01812, allocations: 15.94 kB / 286.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.01861, allocations: 331.5 kB / 286.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.02099, allocations: 1.758 MB / 288.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.02154, allocations: 336.9 kB / 288.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.02174, allocations: 161 kB / 288.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.02178, allocations: 8.5 kB / 288.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006445/0.02243, allocations: 436 kB / 289.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.933e-06/0.02243, allocations: 8 kB / 289.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1442/0.1666, allocations: 9.771 MB / 298.9 MB, free: 25.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.1667, allocations: 148 kB / 299.1 MB, free: 25.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.1672, allocations: 0.5301 MB / 299.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.1673, allocations: 47.11 kB / 299.6 MB, free: 24.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1675, allocations: 445.6 kB / 300.1 MB, free: 24.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.1677, allocations: 327.8 kB / 300.4 MB, free: 24.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.168, allocations: 188.3 kB / 300.6 MB, free: 24.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1681, allocations: 0.5562 MB / 301.1 MB, free: 23.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.1685, allocations: 352 kB / 301.5 MB, free: 23.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.169, allocations: 0.7295 MB / 302.2 MB, free: 23.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.1699, allocations: 0.978 MB / 303.2 MB, free: 22.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1699, allocations: 0 / 303.2 MB, free: 22.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008162/0.1781, allocations: 3.527 MB / 306.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.129e-05/0.1782, allocations: 67.39 kB / 306.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.1782, allocations: 4 kB / 306.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/0.191, allocations: 5.158 MB / 311.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.1914, allocations: 127.8 kB / 312.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.1935, allocations: 2.565 MB / 314.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.1943, allocations: 119.9 kB / 314.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.1943, allocations: 47.97 kB / 314.8 MB, free: 10.9 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.1946, allocations: 221.4 kB / 315 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.1947, allocations: 119.2 kB / 315.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/0.2017, allocations: 3.171 MB / 318.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.2017, allocations: 8 kB / 318.3 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2018, allocations: 11.94 kB / 318.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.2018, allocations: 7.969 kB / 318.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.2027, allocations: 0.6664 MB / 319 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.2027, allocations: 0.75 kB / 319 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2029, allocations: 63.88 kB / 319 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01284/0.2157, allocations: 5.123 MB / 324.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.2158, allocations: 27.97 kB / 324.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.2182, allocations: 2.577 MB / 326.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2182, allocations: 3.938 kB / 326.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0085/0.2267, allocations: 3.474 MB / 330.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.2269, allocations: 71.47 kB / 330.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.227, allocations: 20 kB / 330.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.2276, allocations: 111.9 kB / 330.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.2278, allocations: 88.77 kB / 330.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.2278, allocations: 35.97 kB / 330.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.2281, allocations: 342.8 kB / 330.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2281, allocations: 0 / 330.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005922/0.2287, allocations: 259.9 kB / 331.2 MB, free: 10.38 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002738/0.2289, allocations: 131.2 kB / 331.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.231, allocations: 1.242 MB / 332.5 MB, free: 8.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.231, allocations: 1.375 kB / 332.5 MB, free: 8.969 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.2322, allocations: 0.6542 MB / 333.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.2328, allocations: 152.5 kB / 333.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.235, allocations: 1.505 MB / 334.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.517e-05/0.2351, allocations: 160 kB / 335 MB, free: 6.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2353, allocations: 56.81 kB / 335 MB, free: 6.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.2354, allocations: 40.5 kB / 335.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2354, allocations: 4 kB / 335.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of Templates: time 0.02343/0.2588, allocations: 20.03 MB / 355.1 MB, free: 2.543 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.541381888091564]