Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009872/0.0009872, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9999/0.9999, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.013e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.009183/0.009203, allocations: 4.79 MB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.01108, allocations: 1.26 MB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.01132, allocations: 11.94 kB / 279.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.01153, allocations: 130.7 kB / 279.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.01185, allocations: 281.4 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.01242, allocations: 311.4 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.01328, allocations: 1.138 MB / 281.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.01352, allocations: 178.9 kB / 281.5 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.01407, allocations: 0.612 MB / 282.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.01442, allocations: 367 kB / 282.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.572e-05/0.01451, allocations: 96 kB / 282.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.01467, allocations: 108 kB / 282.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.01478, allocations: 211.2 kB / 282.9 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.015, allocations: 323.2 kB / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.01554, allocations: 0.7201 MB / 283.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01554, allocations: 0 / 283.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01554, allocations: 0 / 283.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.01555, allocations: 0 / 283.9 MB, free: 6.734 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.001329/0.01688, allocations: 1.286 MB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.01691, allocations: 8.031 kB / 285.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.01706, allocations: 152.3 kB / 285.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.01742, allocations: 432.2 kB / 285.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01745, allocations: 49.69 kB / 285.8 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.01752, allocations: 68.33 kB / 285.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.01805, allocations: 0.5702 MB / 286.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.01807, allocations: 192 / 286.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.0181, allocations: 24.38 kB / 286.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.01812, allocations: 19.94 kB / 286.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.01842, allocations: 262.2 kB / 286.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.02032, allocations: 1.781 MB / 288.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.02066, allocations: 299.2 kB / 288.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.0208, allocations: 129.8 kB / 289 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.02083, allocations: 16.47 kB / 289 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.02112, allocations: 415.8 kB / 289.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.613e-06/0.02112, allocations: 0 / 289.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1295/0.1506, allocations: 9.453 MB / 298.8 MB, free: 25.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1507, allocations: 147.8 kB / 299 MB, free: 25.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.1511, allocations: 0.5249 MB / 299.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.1513, allocations: 42.39 kB / 299.5 MB, free: 25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.1515, allocations: 452.3 kB / 300 MB, free: 24.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.1517, allocations: 328.3 kB / 300.3 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.152, allocations: 192.1 kB / 300.5 MB, free: 24.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1521, allocations: 0.5617 MB / 301.1 MB, free: 23.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.1525, allocations: 284.2 kB / 301.3 MB, free: 23.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.153, allocations: 0.669 MB / 302 MB, free: 23.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008227/0.1538, allocations: 0.8676 MB / 302.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1538, allocations: 0 / 302.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.009196/0.163, allocations: 3.375 MB / 306.2 MB, free: 20.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.1631, allocations: 66.27 kB / 306.3 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.1631, allocations: 8 kB / 306.3 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/0.1792, allocations: 5.156 MB / 311.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.1796, allocations: 123.8 kB / 311.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.1821, allocations: 2.574 MB / 314.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.1827, allocations: 123.8 kB / 314.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.1828, allocations: 44.31 kB / 314.3 MB, free: 12.05 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.0002218/0.183, allocations: 217.5 kB / 314.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1831, allocations: 119.4 kB / 314.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/0.1897, allocations: 3.041 MB / 317.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.1897, allocations: 16.94 kB / 317.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1897, allocations: 0 / 317.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.1897, allocations: 3.984 kB / 317.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.1904, allocations: 0.596 MB / 318.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1904, allocations: 3.828 kB / 318.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.1906, allocations: 63.94 kB / 318.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/0.2028, allocations: 5.107 MB / 323.5 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.2029, allocations: 19.98 kB / 323.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.2046, allocations: 2.494 MB / 326 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2046, allocations: 4 kB / 326 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00751/0.2121, allocations: 3.273 MB / 329.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2123, allocations: 79.16 kB / 329.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.785e-05/0.2124, allocations: 16 kB / 329.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.2129, allocations: 119.7 kB / 329.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.2131, allocations: 84.83 kB / 329.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.2131, allocations: 27.97 kB / 329.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.2133, allocations: 327.9 kB / 329.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2133, allocations: 0 / 329.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005868/0.2139, allocations: 256 kB / 330.2 MB, free: 12.23 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.0002028/0.2141, allocations: 136.4 kB / 330.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.216, allocations: 1.192 MB / 331.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.216, allocations: 0 / 331.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.217, allocations: 0.5994 MB / 332.1 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.2175, allocations: 157.6 kB / 332.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.2195, allocations: 1.437 MB / 333.7 MB, free: 8.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2196, allocations: 164 kB / 333.8 MB, free: 8.496 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.2198, allocations: 56.23 kB / 333.9 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.2201, allocations: 206.1 kB / 334.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2201, allocations: 0 / 334.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of Templates: time 0.02184/0.2419, allocations: 20.02 MB / 354.1 MB, free: 4.488 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_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.271176792681217]