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.0009198/0.0009198, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.000947/0.000947, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.02/1.02, allocations: 177 MB / 204.8 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.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.302e-06/1.302e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.955e-05, allocations: 9.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004038/0.004057, allocations: 4.861 MB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.005693, allocations: 1.272 MB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.00588, allocations: 11.94 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.006102, allocations: 134.7 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.006382, allocations: 273.4 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.006836, allocations: 315.4 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007472/0.007583, allocations: 1.13 MB / 280.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.00786, allocations: 190.9 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.008309, allocations: 0.612 MB / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.008645, allocations: 367 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.008734, allocations: 96 kB / 282.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.00888, allocations: 112 kB / 282.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.008992, allocations: 207.2 kB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.009203, allocations: 315.3 kB / 282.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.009752, allocations: 0.7201 MB / 283.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009754, allocations: 0 / 283.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009755, allocations: 0 / 283.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.009761, allocations: 0 / 283.5 MB, free: 6.805 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.001349/0.01111, allocations: 1.278 MB / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.01115, allocations: 19.92 kB / 284.8 MB, free: 5.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.01132, allocations: 152.3 kB / 285 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.01174, allocations: 432.2 kB / 285.4 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.01177, allocations: 45.69 kB / 285.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.01185, allocations: 68.33 kB / 285.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.01252, allocations: 0.6133 MB / 286.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.01254, allocations: 192 / 286.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.01258, allocations: 28.38 kB / 286.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.0126, allocations: 15.94 kB / 286.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.01335, allocations: 323.6 kB / 286.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.01529, allocations: 1.765 MB / 288.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.01577, allocations: 328.8 kB / 288.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.01597, allocations: 161 kB / 288.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.01601, allocations: 8.5 kB / 288.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.01638, allocations: 435.9 kB / 289.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.514e-06/0.01638, allocations: 8 kB / 289.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1406/0.157, allocations: 9.785 MB / 298.9 MB, free: 25.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1571, allocations: 144.8 kB / 299.1 MB, free: 25.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.1575, allocations: 0.5309 MB / 299.6 MB, free: 25.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.1575, allocations: 45.33 kB / 299.7 MB, free: 24.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1577, allocations: 446.3 kB / 300.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.1579, allocations: 331 kB / 300.4 MB, free: 24.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.1581, allocations: 186.3 kB / 300.6 MB, free: 24.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.1582, allocations: 0.5585 MB / 301.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.1587, allocations: 350.1 kB / 301.5 MB, free: 23.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.1592, allocations: 0.7283 MB / 302.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.1601, allocations: 0.9794 MB / 303.2 MB, free: 22.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1601, allocations: 3.781 kB / 303.2 MB, free: 22.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007831/0.1679, allocations: 3.528 MB / 306.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.168, allocations: 67.39 kB / 306.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.168, allocations: 8 kB / 306.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/0.1811, allocations: 5.188 MB / 312 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1814, allocations: 123.8 kB / 312.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.1838, allocations: 2.662 MB / 314.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.1844, allocations: 115.9 kB / 314.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.1845, allocations: 51.97 kB / 314.9 MB, free: 10.84 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.0002331/0.1847, allocations: 216.3 kB / 315.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.1849, allocations: 115.5 kB / 315.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007371/0.1922, allocations: 3.178 MB / 318.4 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.1922, allocations: 12 kB / 318.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1922, allocations: 0 / 318.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1923, allocations: 5.062 kB / 318.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.1929, allocations: 0.6702 MB / 319.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1929, allocations: 8 kB / 319.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.1931, allocations: 55.89 kB / 319.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/0.206, allocations: 5.147 MB / 324.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.206, allocations: 23.97 kB / 324.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.2082, allocations: 2.587 MB / 327 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2082, allocations: 0 / 327 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008405/0.2166, allocations: 3.482 MB / 330.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.2167, allocations: 71.42 kB / 330.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.2168, allocations: 20.56 kB / 330.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.2173, allocations: 111.9 kB / 330.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.2175, allocations: 96.75 kB / 330.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.2175, allocations: 27.98 kB / 330.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.2178, allocations: 350.7 kB / 331.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2178, allocations: 0 / 331.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005312/0.2183, allocations: 260 kB / 331.3 MB, free: 10.28 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.0001925/0.2185, allocations: 134.9 kB / 331.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.2207, allocations: 1.319 MB / 332.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2207, allocations: 0 / 332.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.2219, allocations: 0.6637 MB / 333.5 MB, free: 8.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.2223, allocations: 143.8 kB / 333.6 MB, free: 8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2244, allocations: 1.486 MB / 335.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.2245, allocations: 160 kB / 335.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.2247, allocations: 56.06 kB / 335.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.2247, allocations: 40.48 kB / 335.3 MB, free: 6.215 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2247, allocations: 0 / 335.3 MB, free: 6.215 MB / 282.7 MB Notification: Performance of Templates: time 0.01919/0.2439, allocations: 19.05 MB / 354.4 MB, free: 3.375 MB / 298.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.608419605065137]