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.001009/0.001009, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001054/0.001054, allocations: 161.3 kB / 25.61 MB, free: 8.887 MB / 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.064/1.064, allocations: 177 MB / 205.9 MB, free: 4.438 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.152e-06/1.152e-06, allocations: 0 / 274.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.72e-05, allocations: 2.312 kB / 274.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00448/0.004497, allocations: 4.786 MB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.006825, allocations: 1.264 MB / 280.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.007268, allocations: 15.94 kB / 280.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.007565, allocations: 118.7 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.008027, allocations: 281.4 kB / 280.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.008745, allocations: 311.4 kB / 280.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008464/0.009591, allocations: 1.134 MB / 282 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.009858, allocations: 179 kB / 282.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005745/0.01043, allocations: 0.612 MB / 282.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.01084, allocations: 367 kB / 283.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.882e-05/0.01094, allocations: 92 kB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.0111, allocations: 116 kB / 283.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.01122, allocations: 211.2 kB / 283.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.01145, allocations: 323.2 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.01201, allocations: 0.7162 MB / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.01202, allocations: 0 / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01202, allocations: 0 / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01203, allocations: 0 / 284.6 MB, free: 9.715 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.001494/0.01352, allocations: 1.29 MB / 285.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.01355, allocations: 12.03 kB / 285.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.01371, allocations: 152.3 kB / 286.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.01411, allocations: 428.2 kB / 286.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.01415, allocations: 49.69 kB / 286.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.01423, allocations: 64.38 kB / 286.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.01481, allocations: 0.5547 MB / 287.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01482, allocations: 192 / 287.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.01487, allocations: 32.38 kB / 287.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.01488, allocations: 19.94 kB / 287.2 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.01521, allocations: 262.1 kB / 287.5 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.0172, allocations: 1.788 MB / 289.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.01758, allocations: 293.5 kB / 289.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01772, allocations: 138.2 kB / 289.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.01775, allocations: 12.5 kB / 289.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.01807, allocations: 411.9 kB / 290.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.933e-06/0.01807, allocations: 0 / 290.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.02341/0.04148, allocations: 9.444 MB / 299.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.04155, allocations: 145.5 kB / 299.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.04192, allocations: 0.5294 MB / 300.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.04199, allocations: 41.7 kB / 300.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.04223, allocations: 447.3 kB / 300.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.04244, allocations: 329.1 kB / 301 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.04269, allocations: 196.1 kB / 301.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.04285, allocations: 0.5585 MB / 301.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.04319, allocations: 289.5 kB / 302 MB, free: 7.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.04368, allocations: 0.6638 MB / 302.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.04451, allocations: 0.8695 MB / 303.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.04451, allocations: 4 kB / 303.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008118/0.05263, allocations: 3.35 MB / 306.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.05268, allocations: 71.39 kB / 307 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.05269, allocations: 8 kB / 307 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01373/0.06641, allocations: 5.133 MB / 312.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.0667, allocations: 131.8 kB / 312.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.06887, allocations: 2.481 MB / 314.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.06948, allocations: 119.9 kB / 314.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.06955, allocations: 43.97 kB / 314.9 MB, free: 10.59 MB / 298.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.0002424/0.06979, allocations: 217.2 kB / 315.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.06994, allocations: 119.4 kB / 315.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.08537, allocations: 3.017 MB / 318.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.08538, allocations: 12 kB / 318.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.08539, allocations: 0 / 318.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.0854, allocations: 7.984 kB / 318.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.08921, allocations: 0.6019 MB / 318.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.08921, allocations: 0 / 318.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.08945, allocations: 63.88 kB / 318.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03584/0.1253, allocations: 5.089 MB / 324 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.1254, allocations: 23.92 kB / 324 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.1277, allocations: 2.489 MB / 326.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1277, allocations: 7.984 kB / 326.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008309/0.136, allocations: 3.256 MB / 329.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1362, allocations: 71.47 kB / 329.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1363, allocations: 20.25 kB / 329.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.1368, allocations: 107.9 kB / 330 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.137, allocations: 96.84 kB / 330.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.1371, allocations: 23.98 kB / 330.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1372, allocations: 326.6 kB / 330.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1372, allocations: 0 / 330.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.1378, allocations: 259.9 kB / 330.7 MB, free: 10.62 MB / 314.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.0002053/0.138, allocations: 135.2 kB / 330.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.1397, allocations: 1.107 MB / 331.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1397, allocations: 0 / 331.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.1408, allocations: 0.596 MB / 332.5 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.1413, allocations: 146.2 kB / 332.7 MB, free: 8.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1435, allocations: 1.477 MB / 334.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.509e-05/0.1436, allocations: 160 kB / 334.3 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1438, allocations: 58.22 kB / 334.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.1441, allocations: 206.1 kB / 334.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1441, allocations: 0 / 334.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of Templates: time 0.02284/0.1669, allocations: 20.62 MB / 355.2 MB, free: 2.172 MB / 330.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.5301680928096175]