Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.001139/0.001139, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001265/0.001265, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.488 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.704e-05, allocations: 6.312 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.01132/0.01134, allocations: 4.778 MB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.01687, allocations: 1.272 MB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.01745, allocations: 11.94 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.01784, allocations: 126.7 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.0184, allocations: 269.5 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.02226, allocations: 315.4 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.02355, allocations: 1.134 MB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.02385, allocations: 194.9 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000746/0.0246, allocations: 0.6042 MB / 282 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.02812, allocations: 375 kB / 282.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.02829, allocations: 91.94 kB / 282.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.02849, allocations: 116 kB / 282.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.02863, allocations: 203.2 kB / 282.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.02891, allocations: 323.3 kB / 283.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.02966, allocations: 0.7123 MB / 283.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.02967, allocations: 0 / 283.8 MB, free: 6.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02967, allocations: 4 kB / 283.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.02968, allocations: 0 / 283.8 MB, free: 6.668 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.004979/0.03466, allocations: 1.29 MB / 285.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.0347, allocations: 19.92 kB / 285.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.03489, allocations: 148.3 kB / 285.3 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.0354, allocations: 424.2 kB / 285.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.03544, allocations: 45.69 kB / 285.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.03552, allocations: 68.33 kB / 285.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.03622, allocations: 0.5587 MB / 286.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.03624, allocations: 8.172 kB / 286.4 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.03629, allocations: 28.38 kB / 286.4 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.03631, allocations: 15.94 kB / 286.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.03672, allocations: 262.2 kB / 286.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.04229, allocations: 1.777 MB / 288.5 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.04274, allocations: 300.7 kB / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.043, allocations: 141 kB / 288.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.04305, allocations: 16.48 kB / 288.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004653/0.04352, allocations: 415.9 kB / 289.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.535e-06/0.04352, allocations: 0 / 289.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1472/0.1907, allocations: 9.432 MB / 298.7 MB, free: 25.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1907, allocations: 148.4 kB / 298.9 MB, free: 25.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.1911, allocations: 0.5288 MB / 299.4 MB, free: 24.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-05/0.1912, allocations: 43.7 kB / 299.5 MB, free: 24.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1914, allocations: 453.3 kB / 299.9 MB, free: 24.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.1916, allocations: 330.6 kB / 300.2 MB, free: 24.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.1919, allocations: 194.3 kB / 300.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.192, allocations: 0.5647 MB / 301 MB, free: 23.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.1924, allocations: 287.5 kB / 301.3 MB, free: 23.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.1928, allocations: 0.6632 MB / 301.9 MB, free: 23.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.1936, allocations: 0.8629 MB / 302.8 MB, free: 22.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1936, allocations: 3.5 kB / 302.8 MB, free: 22.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0101/0.2037, allocations: 3.368 MB / 306.2 MB, free: 19.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.2038, allocations: 66.83 kB / 306.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.2038, allocations: 4 kB / 306.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/0.2248, allocations: 5.137 MB / 311.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.225, allocations: 118.8 kB / 311.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.2269, allocations: 2.498 MB / 314 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.2276, allocations: 115.9 kB / 314.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.2277, allocations: 39.97 kB / 314.1 MB, free: 11.95 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.0002201/0.2279, allocations: 226.3 kB / 314.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.228, allocations: 115.4 kB / 314.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00657/0.2346, allocations: 3.025 MB / 317.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2346, allocations: 11.72 kB / 317.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2346, allocations: 0 / 317.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.2346, allocations: 13.05 kB / 317.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.2353, allocations: 0.595 MB / 318.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2353, allocations: 0.875 kB / 318.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.2354, allocations: 63.89 kB / 318.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/0.2474, allocations: 5.087 MB / 323.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.2475, allocations: 23.97 kB / 323.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.2492, allocations: 2.485 MB / 325.8 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2492, allocations: 4 kB / 325.8 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/0.2565, allocations: 3.264 MB / 329 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.2567, allocations: 67.48 kB / 329.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/0.2568, allocations: 16 kB / 329.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.2572, allocations: 115.9 kB / 329.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.2574, allocations: 92.77 kB / 329.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.2575, allocations: 23.97 kB / 329.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.2577, allocations: 326.6 kB / 329.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2577, allocations: 0 / 329.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005748/0.2583, allocations: 267.9 kB / 329.9 MB, free: 12.16 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.0001992/0.2585, allocations: 127 kB / 330 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.2601, allocations: 1.116 MB / 331.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2601, allocations: 4 kB / 331.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009536/0.261, allocations: 0.5898 MB / 331.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.2615, allocations: 156.4 kB / 331.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.2634, allocations: 1.46 MB / 333.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.2635, allocations: 160 kB / 333.5 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.2637, allocations: 57.75 kB / 333.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.264, allocations: 206.1 kB / 333.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.482e-06/0.264, allocations: 0 / 333.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of Templates: time 0.02239/0.2864, allocations: 20.05 MB / 353.8 MB, free: 4.461 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_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.4059646748937666]