Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_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.0009525/0.0009525, allocations: 84.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.001045/0.001045, allocations: 170 kB / 24.91 MB, free: 8.77 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.9821/0.9821, allocations: 177 MB / 205.2 MB, free: 5.055 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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.247e-05, allocations: 5.266 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005904/0.005927, allocations: 4.793 MB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.008998, allocations: 1.322 MB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.009393, allocations: 11.94 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.009702, allocations: 122.7 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.0103, allocations: 281.3 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.01108, allocations: 323.3 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.01231, allocations: 1.13 MB / 281.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.01267, allocations: 196.9 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009096/0.01357, allocations: 0.6081 MB / 282.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.01418, allocations: 371 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.01434, allocations: 92 kB / 282.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.01456, allocations: 108 kB / 282.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.01472, allocations: 203.2 kB / 282.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.01507, allocations: 327.2 kB / 283.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009272/0.016, allocations: 0.7201 MB / 284 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.016, allocations: 4 kB / 284 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.016, allocations: 0 / 284 MB, free: 6.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.01602, allocations: 0 / 284 MB, free: 6.414 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.001974/0.01799, allocations: 1.157 MB / 285.1 MB, free: 5.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.01803, allocations: 15.92 kB / 285.2 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.01822, allocations: 108.8 kB / 285.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.01875, allocations: 341.5 kB / 285.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.01879, allocations: 49.69 kB / 285.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.0189, allocations: 68.31 kB / 285.7 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.01971, allocations: 0.5781 MB / 286.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.01972, allocations: 192 / 286.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.01978, allocations: 20.38 kB / 286.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.0198, allocations: 19.94 kB / 286.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.02026, allocations: 218.2 kB / 286.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.02293, allocations: 1.465 MB / 288 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.02341, allocations: 260.4 kB / 288.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.02361, allocations: 122.2 kB / 288.4 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.02366, allocations: 8.5 kB / 288.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000703/0.02436, allocations: 402.8 kB / 288.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.024e-06/0.02436, allocations: 0 / 288.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1252/0.1496, allocations: 10.68 MB / 299.5 MB, free: 24.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1496, allocations: 143.3 kB / 299.6 MB, free: 24.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.1499, allocations: 487 kB / 300.1 MB, free: 24.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.1501, allocations: 45.23 kB / 300.1 MB, free: 24.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1502, allocations: 344.1 kB / 300.5 MB, free: 24.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.1503, allocations: 330 kB / 300.8 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.1505, allocations: 183.5 kB / 301 MB, free: 23.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.1506, allocations: 390.4 kB / 301.3 MB, free: 23.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1509, allocations: 244.3 kB / 301.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.1512, allocations: 0.5451 MB / 302.1 MB, free: 22.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.1517, allocations: 0.7548 MB / 302.9 MB, free: 22.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1517, allocations: 0 / 302.9 MB, free: 22.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006097/0.1578, allocations: 3.102 MB / 306 MB, free: 19.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.1578, allocations: 62.16 kB / 306 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1578, allocations: 8.125 kB / 306 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/0.1688, allocations: 5.055 MB / 311.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.1691, allocations: 122.1 kB / 311.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.1769, allocations: 5.419 MB / 316.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.1776, allocations: 127.8 kB / 316.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.1776, allocations: 39.7 kB / 316.8 MB, free: 9.352 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.0002398/0.1779, allocations: 173.6 kB / 317 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.178, allocations: 83.92 kB / 317.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005821/0.1838, allocations: 2.825 MB / 319.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1838, allocations: 12 kB / 319.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1838, allocations: 4 kB / 319.9 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.1838, allocations: 3.984 kB / 319.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.1844, allocations: 0.5225 MB / 320.4 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1845, allocations: 0 / 320.4 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1846, allocations: 63.88 kB / 320.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/0.1957, allocations: 4.998 MB / 325.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.1958, allocations: 23.97 kB / 325.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008464/0.2042, allocations: 5.269 MB / 330.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2042, allocations: 0 / 330.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007103/0.2113, allocations: 3.022 MB / 333.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.2115, allocations: 67.2 kB / 333.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.2116, allocations: 19.98 kB / 333.9 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.2121, allocations: 115.9 kB / 334 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.2124, allocations: 108.7 kB / 334.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.2124, allocations: 23.97 kB / 334.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.2126, allocations: 208.9 kB / 334.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2126, allocations: 0 / 334.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008728/0.2135, allocations: 356 kB / 334.7 MB, free: 7.496 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.0002146/0.2137, allocations: 112.2 kB / 334.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.2158, allocations: 1.377 MB / 336.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.2158, allocations: 12 kB / 336.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.217, allocations: 0.8071 MB / 337 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.2174, allocations: 153.3 kB / 337.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.2197, allocations: 1.449 MB / 338.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2198, allocations: 189.5 kB / 338.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.22, allocations: 57.38 kB / 338.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.2202, allocations: 173.2 kB / 339 MB, free: 3.086 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2202, allocations: 0 / 339 MB, free: 3.086 MB / 282.7 MB Notification: Performance of Templates: time 0.03011/0.2503, allocations: 29.75 MB / 368.7 MB, free: 5.582 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.457891150843352]