Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002753, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007198/0.0007198, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009937/0.001713, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8872/0.8872, allocations: 173.3 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08428/0.9715, allocations: 52.51 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.585e-05, allocations: 6.312 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.00414/0.004156, allocations: 4.826 MB / 244.4 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.006325, allocations: 1.31 MB / 245.7 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.006593, allocations: 19.94 kB / 245.7 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.006771, allocations: 122.7 kB / 245.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.007114, allocations: 277.4 kB / 246.1 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.007529, allocations: 311.4 kB / 246.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.008214, allocations: 1.134 MB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.008434, allocations: 189 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.008962, allocations: 0.6967 MB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.009296, allocations: 367 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.514e-05/0.009382, allocations: 88 kB / 248.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.009539, allocations: 119.9 kB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.009633, allocations: 143.5 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.009828, allocations: 259.5 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.01033, allocations: 0.6345 MB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.01035, allocations: 0 / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01035, allocations: 4 kB / 250 MB, free: 8.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.01037, allocations: 0 / 250 MB, free: 8.633 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.00159/0.01196, allocations: 1.321 MB / 251.4 MB, free: 7.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.012, allocations: 8.031 kB / 251.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.01212, allocations: 112.8 kB / 251.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.01248, allocations: 353.4 kB / 251.8 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.01251, allocations: 45.69 kB / 251.9 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.01257, allocations: 64.38 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.01307, allocations: 0.5664 MB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01309, allocations: 192 / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.01312, allocations: 24.38 kB / 252.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01313, allocations: 23.88 kB / 252.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.0134, allocations: 226.2 kB / 252.8 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.01504, allocations: 1.465 MB / 254.2 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.01536, allocations: 264.4 kB / 254.5 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.01548, allocations: 110.3 kB / 254.6 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.01551, allocations: 8.5 kB / 254.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.0158, allocations: 391 kB / 255 MB, free: 3.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.553e-06/0.0158, allocations: 4 kB / 255 MB, free: 3.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=94): time 0.02313/0.03894, allocations: 10.8 MB / 265.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.03898, allocations: 68.34 kB / 265.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.03926, allocations: 490.9 kB / 266.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.03933, allocations: 41.7 kB / 266.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.03947, allocations: 337.9 kB / 266.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.03964, allocations: 325.2 kB / 267 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.03985, allocations: 182.4 kB / 267.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.03995, allocations: 402.6 kB / 267.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.0402, allocations: 233.7 kB / 267.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.04056, allocations: 0.5536 MB / 268.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.04121, allocations: 0.7557 MB / 269.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.04122, allocations: 0 / 269.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006632/0.04785, allocations: 3.116 MB / 272.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.0479, allocations: 63.41 kB / 272.3 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.04791, allocations: 4 kB / 272.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1112/0.1591, allocations: 5.058 MB / 277.4 MB, free: 26.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.1595, allocations: 132.7 kB / 277.5 MB, free: 26.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0089/0.1684, allocations: 5.454 MB / 283 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.169, allocations: 123.2 kB / 283.1 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.1691, allocations: 38.28 kB / 283.1 MB, free: 24.18 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.0002144/0.1693, allocations: 168.2 kB / 283.3 MB, free: 24.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1694, allocations: 83.98 kB / 283.4 MB, free: 24.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/0.1754, allocations: 2.829 MB / 286.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.1754, allocations: 11.47 kB / 286.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1754, allocations: 5.109 kB / 286.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1754, allocations: 3.844 kB / 286.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.1759, allocations: 0.5156 MB / 286.7 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1759, allocations: 2.312 kB / 286.7 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1761, allocations: 71.78 kB / 286.8 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1762, allocations: 71.55 kB / 286.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/0.1869, allocations: 5.016 MB / 291.9 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/0.187, allocations: 25.84 kB / 291.9 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.194, allocations: 5.309 MB / 297.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.194, allocations: 0 / 297.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.2, allocations: 3.032 MB / 300.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.2001, allocations: 16 kB / 300.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.2005, allocations: 108.8 kB / 300.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.2008, allocations: 116.5 kB / 300.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.2008, allocations: 27.97 kB / 300.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2009, allocations: 205 kB / 300.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 300.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007991/0.2017, allocations: 356 kB / 301.1 MB, free: 12.23 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.0001799/0.2019, allocations: 116.5 kB / 301.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.2036, allocations: 1.373 MB / 302.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-05/0.2036, allocations: 26.08 kB / 302.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008987/0.2045, allocations: 0.8134 MB / 303.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2049, allocations: 216.3 kB / 303.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.2092, allocations: 1.475 MB / 305.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2093, allocations: 180.6 kB / 305.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.2094, allocations: 60.67 kB / 305.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.2097, allocations: 169.3 kB / 305.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2097, allocations: 0 / 305.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of Templates: time 0.03149/0.2412, allocations: 30.27 MB / 335.7 MB, free: 9.773 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2962415479123592]