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.001331/0.001331, 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.001482/0.001482, 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 1.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.609 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.994e-06/1.994e-06, allocations: 3.938 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.161e-05, allocations: 6.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006078/0.00612, allocations: 4.856 MB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.008397, allocations: 1.272 MB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.008734, allocations: 15.94 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.008984, allocations: 122.7 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.009367, allocations: 277.4 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.009998, allocations: 311.4 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.01078, allocations: 1.13 MB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.01106, allocations: 194.9 kB / 281.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.01164, allocations: 0.612 MB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.01202, allocations: 367 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01212, allocations: 92 kB / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.01228, allocations: 112 kB / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.01239, allocations: 207.2 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.01265, allocations: 323.2 kB / 282.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.01327, allocations: 0.7162 MB / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01327, allocations: 0 / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01327, allocations: 0 / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.01328, allocations: 0 / 283.5 MB, free: 6.82 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.001461/0.01474, allocations: 1.282 MB / 284.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.01478, allocations: 11.98 kB / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.01494, allocations: 152.3 kB / 284.9 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.01538, allocations: 428.2 kB / 285.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.01541, allocations: 45.69 kB / 285.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.0155, allocations: 72.31 kB / 285.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.01618, allocations: 0.6055 MB / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01619, allocations: 192 / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.01623, allocations: 36.36 kB / 286.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.01625, allocations: 19.94 kB / 286.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.01673, allocations: 323.6 kB / 286.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.01872, allocations: 1.758 MB / 288.2 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.01923, allocations: 329.6 kB / 288.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.01945, allocations: 165 kB / 288.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.01949, allocations: 12.5 kB / 288.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.01987, allocations: 435.9 kB / 289.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.383e-06/0.01987, allocations: 0 / 289.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1378/0.1577, allocations: 9.774 MB / 298.9 MB, free: 25.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.1577, allocations: 152.8 kB / 299.1 MB, free: 25.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.1582, allocations: 0.5333 MB / 299.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.1582, allocations: 45.3 kB / 299.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.1584, allocations: 441.5 kB / 300.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.1586, allocations: 331.2 kB / 300.4 MB, free: 24.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.1588, allocations: 187 kB / 300.6 MB, free: 24.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.1589, allocations: 0.5569 MB / 301.1 MB, free: 23.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.1593, allocations: 350 kB / 301.5 MB, free: 23.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.1598, allocations: 0.7309 MB / 302.2 MB, free: 23.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.1607, allocations: 0.9716 MB / 303.2 MB, free: 22.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1607, allocations: 7.844 kB / 303.2 MB, free: 22.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007729/0.1685, allocations: 3.523 MB / 306.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1685, allocations: 67.52 kB / 306.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1685, allocations: 8 kB / 306.8 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/0.1814, allocations: 5.154 MB / 311.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1816, allocations: 127.8 kB / 312.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.1836, allocations: 2.565 MB / 314.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.1841, allocations: 119.9 kB / 314.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.1842, allocations: 51.69 kB / 314.8 MB, free: 10.92 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.0001989/0.1844, allocations: 220.4 kB / 315 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1845, allocations: 115.4 kB / 315.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007165/0.1917, allocations: 3.182 MB / 318.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.1917, allocations: 8 kB / 318.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1917, allocations: 0 / 318.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.1917, allocations: 3.984 kB / 318.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.1922, allocations: 0.6781 MB / 319 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1922, allocations: 4.578 kB / 319 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1924, allocations: 59.94 kB / 319 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01268/0.2051, allocations: 5.116 MB / 324.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/0.2052, allocations: 31.91 kB / 324.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.2072, allocations: 2.573 MB / 326.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2072, allocations: 3.938 kB / 326.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008049/0.2153, allocations: 3.474 MB / 330.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.2154, allocations: 71.47 kB / 330.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.741e-05/0.2155, allocations: 24 kB / 330.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.2159, allocations: 103.9 kB / 330.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.2161, allocations: 92.86 kB / 330.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.2161, allocations: 39.91 kB / 330.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.2164, allocations: 342.8 kB / 330.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2164, allocations: 0 / 330.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.2169, allocations: 259.9 kB / 331.2 MB, free: 10.39 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.000184/0.2171, allocations: 130.9 kB / 331.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.219, allocations: 1.246 MB / 332.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.219, allocations: 0 / 332.5 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.2201, allocations: 0.6468 MB / 333.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.2205, allocations: 147.9 kB / 333.3 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.2225, allocations: 1.512 MB / 334.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.427e-05/0.2226, allocations: 160 kB / 335 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.2227, allocations: 57.38 kB / 335 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.2228, allocations: 36.5 kB / 335.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2228, allocations: 0 / 335.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of Templates: time 0.01858/0.2414, allocations: 19.1 MB / 354.2 MB, free: 3.5 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.6142646498046815]