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.0009066/0.0009066, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001063/0.001063, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 0.9433/0.9433, allocations: 177 MB / 205.2 MB, free: 5.059 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.453e-06/1.453e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.661e-05, allocations: 9.062 kB / 273.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003836/0.003853, allocations: 4.813 MB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.005285, allocations: 1.322 MB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.005467, allocations: 11.94 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.005673, allocations: 126.7 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.005956, allocations: 273.4 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.006362, allocations: 315.3 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.007004, allocations: 1.13 MB / 281.4 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.007305, allocations: 200.9 kB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.007753, allocations: 0.6119 MB / 282.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/0.008092, allocations: 374.9 kB / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.008176, allocations: 92 kB / 282.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.00832, allocations: 112 kB / 282.8 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.008423, allocations: 203.2 kB / 283 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.008621, allocations: 323.2 kB / 283.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.009117, allocations: 0.7124 MB / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.009119, allocations: 0 / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.00912, allocations: 0 / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.009125, allocations: 0 / 284 MB, free: 6.367 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.001168/0.01029, allocations: 1.161 MB / 285.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.01032, allocations: 15.98 kB / 285.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.01043, allocations: 116.8 kB / 285.3 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.01077, allocations: 345.5 kB / 285.7 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.0108, allocations: 45.69 kB / 285.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.01086, allocations: 64.38 kB / 285.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.01137, allocations: 0.5742 MB / 286.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.01138, allocations: 8.125 kB / 286.4 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.01142, allocations: 32.38 kB / 286.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01143, allocations: 15.94 kB / 286.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.01171, allocations: 222.3 kB / 286.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.01336, allocations: 1.469 MB / 288.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.01369, allocations: 252.4 kB / 288.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.01381, allocations: 114.2 kB / 288.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.01384, allocations: 16.5 kB / 288.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.0142, allocations: 402.8 kB / 288.9 MB, free: 1.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.623e-06/0.0142, allocations: 0 / 288.9 MB, free: 1.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1313/0.1455, allocations: 10.67 MB / 299.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1455, allocations: 150.2 kB / 299.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1457, allocations: 479.6 kB / 300.1 MB, free: 24.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.1458, allocations: 48.95 kB / 300.2 MB, free: 24.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.1459, allocations: 338.9 kB / 300.5 MB, free: 24.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.146, allocations: 331.5 kB / 300.8 MB, free: 23.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1462, allocations: 177.6 kB / 301 MB, free: 23.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.1463, allocations: 392.5 kB / 301.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.1465, allocations: 243.8 kB / 301.6 MB, free: 23.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1468, allocations: 0.5405 MB / 302.2 MB, free: 23.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.1474, allocations: 0.7564 MB / 302.9 MB, free: 22.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1474, allocations: 3.906 kB / 302.9 MB, free: 22.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006345/0.1537, allocations: 3.097 MB / 306 MB, free: 19.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.1538, allocations: 66.8 kB / 306.1 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.1538, allocations: 8 kB / 306.1 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.1653, allocations: 5.024 MB / 311.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.1655, allocations: 119.7 kB / 311.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007514/0.173, allocations: 5.311 MB / 316.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.1736, allocations: 127.8 kB / 316.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.1736, allocations: 35.97 kB / 316.7 MB, free: 9.512 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.0001893/0.1738, allocations: 169.6 kB / 316.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.1739, allocations: 79.92 kB / 317 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/0.1799, allocations: 2.825 MB / 319.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1799, allocations: 15.98 kB / 319.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1799, allocations: 4 kB / 319.8 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1799, allocations: 3.984 kB / 319.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.1804, allocations: 0.5203 MB / 320.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1804, allocations: 7.984 kB / 320.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1806, allocations: 59.89 kB / 320.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/0.192, allocations: 4.982 MB / 325.4 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.192, allocations: 23.98 kB / 325.4 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007886/0.1999, allocations: 5.27 MB / 330.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1999, allocations: 0 / 330.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/0.207, allocations: 3.016 MB / 333.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.207, allocations: 66.48 kB / 333.8 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.2071, allocations: 16 kB / 333.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.2076, allocations: 114.5 kB / 333.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.2078, allocations: 112.8 kB / 334 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.2078, allocations: 23.98 kB / 334 MB, free: 8.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.208, allocations: 203.1 kB / 334.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.208, allocations: 0 / 334.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007379/0.2087, allocations: 356 kB / 334.6 MB, free: 7.691 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.0001807/0.2089, allocations: 113.5 kB / 334.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.2105, allocations: 1.311 MB / 336 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.2105, allocations: 8 kB / 336 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.2116, allocations: 0.8074 MB / 336.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.212, allocations: 154.5 kB / 336.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2138, allocations: 1.457 MB / 338.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.214, allocations: 184.6 kB / 338.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.2141, allocations: 59.25 kB / 338.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.2144, allocations: 169.2 kB / 338.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2144, allocations: 0 / 338.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of Templates: time 0.0289/0.2433, allocations: 29.81 MB / 368.6 MB, free: 5.809 MB / 314.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 -s gbode -gbm=radauIIA3 -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.4116581911221147]