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.001302/0.001302, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002266/0.003569, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001438/0.001438, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.003407, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.058/1.058, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1315/1.19, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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 2.054e-06/2.054e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.028e-05, allocations: 2.312 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005284/0.005315, allocations: 4.863 MB / 249.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.008752, allocations: 1.326 MB / 250.9 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.009353, allocations: 19.88 kB / 251 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.00967, allocations: 126.7 kB / 251.1 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006632/0.01033, allocations: 273.5 kB / 251.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.01138, allocations: 311.4 kB / 251.6 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.01276, allocations: 1.126 MB / 252.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.0131, allocations: 188.9 kB / 253 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009896/0.01409, allocations: 0.6889 MB / 253.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.01465, allocations: 371 kB / 254 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.01478, allocations: 95.94 kB / 254.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.01503, allocations: 115.9 kB / 254.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.01514, allocations: 143.5 kB / 254.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.01539, allocations: 263.5 kB / 254.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.01614, allocations: 0.6345 MB / 255.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-05/0.01615, allocations: 0 / 255.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.01616, allocations: 0 / 255.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.01617, allocations: 0 / 255.2 MB, free: 3.625 MB / 250.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.001691/0.01786, allocations: 1.329 MB / 256.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.01791, allocations: 8.031 kB / 256.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.01806, allocations: 112.8 kB / 256.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.01854, allocations: 353.4 kB / 257 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.01858, allocations: 45.69 kB / 257.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.01866, allocations: 64.38 kB / 257.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.01928, allocations: 0.5742 MB / 257.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.0193, allocations: 192 / 257.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.01934, allocations: 28.38 kB / 257.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.01936, allocations: 19.88 kB / 257.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.01968, allocations: 222.3 kB / 258 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.02169, allocations: 1.465 MB / 259.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.02208, allocations: 255.2 kB / 259.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.0222, allocations: 118.2 kB / 259.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.02225, allocations: 8.5 kB / 259.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.02262, allocations: 403 kB / 260.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.854e-06/0.02263, allocations: 0 / 260.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.0296/0.05223, allocations: 11.05 MB / 271.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.05232, allocations: 68.41 kB / 271.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.05297, allocations: 478.9 kB / 271.8 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.05313, allocations: 49.7 kB / 271.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.05349, allocations: 337.9 kB / 272.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.05385, allocations: 325.1 kB / 272.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005092/0.05435, allocations: 182.5 kB / 272.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.05455, allocations: 394.6 kB / 273.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.05507, allocations: 237.7 kB / 273.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.05573, allocations: 0.5575 MB / 273.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1601/0.2158, allocations: 0.7732 MB / 274.6 MB, free: 22.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.2158, allocations: 2.375 kB / 274.6 MB, free: 22.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01201/0.2278, allocations: 3.108 MB / 277.7 MB, free: 21.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/0.2279, allocations: 68.72 kB / 277.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.2279, allocations: 10 kB / 277.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01997/0.2479, allocations: 5.16 MB / 283 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.2483, allocations: 135.7 kB / 283.1 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00844/0.2568, allocations: 5.462 MB / 288.6 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.2574, allocations: 122.7 kB / 288.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.2574, allocations: 39.66 kB / 288.7 MB, free: 18.9 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,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.2576, allocations: 165.9 kB / 288.9 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.2577, allocations: 86.61 kB / 289 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005694/0.2634, allocations: 2.837 MB / 291.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2634, allocations: 8 kB / 291.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2634, allocations: 8 kB / 291.8 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.2634, allocations: 7.984 kB / 291.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.2639, allocations: 0.5165 MB / 292.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2639, allocations: 0 / 292.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.2641, allocations: 63.94 kB / 292.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.2642, allocations: 66.2 kB / 292.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/0.2753, allocations: 5.112 MB / 297.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.2753, allocations: 31.91 kB / 297.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/0.2827, allocations: 5.301 MB / 302.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2827, allocations: 0 / 302.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/0.2888, allocations: 3.04 MB / 306 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.2889, allocations: 16.88 kB / 306 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.2893, allocations: 119.9 kB / 306.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.2895, allocations: 112.5 kB / 306.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.2895, allocations: 27.97 kB / 306.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2896, allocations: 207.2 kB / 306.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2896, allocations: 0 / 306.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007226/0.2903, allocations: 356 kB / 306.8 MB, free: 2.094 MB / 266.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.0002027/0.2906, allocations: 121 kB / 306.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.2923, allocations: 1.384 MB / 308.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.518e-05/0.2923, allocations: 15 kB / 308.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.2933, allocations: 0.8458 MB / 309.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.2942, allocations: 1.266 MB / 310.4 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.2988, allocations: 1.478 MB / 311.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2989, allocations: 188.3 kB / 312.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.299, allocations: 58.17 kB / 312.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.2993, allocations: 174.8 kB / 312.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.2993, allocations: 0 / 312.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of Templates: time 0.02926/0.3286, allocations: 29.6 MB / 341.9 MB, free: 14.99 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4788514263927937]