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.001352/0.001352, allocations: 83.67 kB / 21.7 MB, free: 2.848 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.001606/0.001606, allocations: 161.6 kB / 24.99 MB, free: 9.234 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.59 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.864e-06/1.864e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.809e-05, allocations: 5.125 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006916/0.006954, allocations: 4.833 MB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.00917, allocations: 1.272 MB / 279.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.00957, allocations: 11.94 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.009836, allocations: 126.7 kB / 279.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.01023, allocations: 273.4 kB / 279.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.01089, allocations: 323.3 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000801/0.01169, allocations: 1.134 MB / 281 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.01195, allocations: 186.9 kB / 281.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.01271, allocations: 0.612 MB / 281.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.01304, allocations: 367 kB / 282.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.01314, allocations: 88 kB / 282.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.01329, allocations: 112 kB / 282.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.0134, allocations: 207.2 kB / 282.5 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.01362, allocations: 323.2 kB / 282.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.01423, allocations: 0.7162 MB / 283.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01423, allocations: 4 kB / 283.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01423, allocations: 4 kB / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.01424, allocations: 0 / 283.6 MB, free: 7.109 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.001465/0.01571, allocations: 1.278 MB / 284.8 MB, free: 5.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.01574, allocations: 11.98 kB / 284.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.01591, allocations: 148.3 kB / 285 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.01636, allocations: 428.2 kB / 285.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.01639, allocations: 53.62 kB / 285.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.01647, allocations: 68.33 kB / 285.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.0172, allocations: 0.6172 MB / 286.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.01722, allocations: 192 / 286.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.01727, allocations: 24.38 kB / 286.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.01728, allocations: 19.94 kB / 286.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005268/0.01781, allocations: 323.6 kB / 286.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.01992, allocations: 1.761 MB / 288.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.02068, allocations: 333.6 kB / 288.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.0209, allocations: 165 kB / 288.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.02094, allocations: 8.5 kB / 288.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/0.02138, allocations: 435.9 kB / 289.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.964e-06/0.02138, allocations: 0 / 289.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.136/0.1574, allocations: 9.773 MB / 299 MB, free: 27.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1575, allocations: 148.6 kB / 299.1 MB, free: 27.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.158, allocations: 0.5392 MB / 299.7 MB, free: 26.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.1581, allocations: 47.73 kB / 299.7 MB, free: 26.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1583, allocations: 438.6 kB / 300.1 MB, free: 26.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.1585, allocations: 329.5 kB / 300.5 MB, free: 26.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.1588, allocations: 190.8 kB / 300.6 MB, free: 26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1589, allocations: 0.5546 MB / 301.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.1595, allocations: 352.7 kB / 301.5 MB, free: 25.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.16, allocations: 0.7352 MB / 302.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.161, allocations: 0.9708 MB / 303.2 MB, free: 24.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.161, allocations: 0 / 303.2 MB, free: 24.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.008292/0.1693, allocations: 3.524 MB / 306.8 MB, free: 20.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.1694, allocations: 71.39 kB / 306.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1694, allocations: 8.125 kB / 306.8 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01362/0.183, allocations: 5.156 MB / 312 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.1833, allocations: 119.8 kB / 312.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.1856, allocations: 2.578 MB / 314.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.1864, allocations: 119.9 kB / 314.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.1864, allocations: 47.97 kB / 314.9 MB, free: 12.44 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.0002997/0.1867, allocations: 216.4 kB / 315.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1869, allocations: 115.5 kB / 315.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007631/0.1945, allocations: 3.171 MB / 318.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.1945, allocations: 11.94 kB / 318.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1945, allocations: 7.938 kB / 318.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1945, allocations: 3.984 kB / 318.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.1953, allocations: 0.6682 MB / 319 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1953, allocations: 4 kB / 319.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.1955, allocations: 60.52 kB / 319.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01337/0.2088, allocations: 5.119 MB / 324.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.209, allocations: 27.97 kB / 324.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.2113, allocations: 2.579 MB / 326.8 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2113, allocations: 3.938 kB / 326.8 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008869/0.2202, allocations: 3.479 MB / 330.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2203, allocations: 75.5 kB / 330.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2204, allocations: 16 kB / 330.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.221, allocations: 111.9 kB / 330.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.2211, allocations: 84.83 kB / 330.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.2212, allocations: 35.97 kB / 330.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002531/0.2214, allocations: 346.8 kB / 331 MB, free: 12.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2214, allocations: 0 / 331 MB, free: 12.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000563/0.222, allocations: 259.9 kB / 331.2 MB, free: 11.92 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.0002145/0.2222, allocations: 137.1 kB / 331.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.2243, allocations: 1.235 MB / 332.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2243, allocations: 0 / 332.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.2257, allocations: 0.6519 MB / 333.3 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.2262, allocations: 157.2 kB / 333.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.2283, allocations: 1.503 MB / 334.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.872e-05/0.2284, allocations: 156 kB / 335.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.2286, allocations: 58.08 kB / 335.1 MB, free: 7.961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.2287, allocations: 40.5 kB / 335.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2287, allocations: 0 / 335.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of Templates: time 0.02067/0.2493, allocations: 19.09 MB / 354.2 MB, free: 5.02 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.4613181150052696]