Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.001529/0.001529, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0017/0.0017, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9432/0.9432, allocations: 177 MB / 204.8 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 34.86 MB / 296.3 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.239e-05, allocations: 2.312 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002028/0.00205, allocations: 1.655 MB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003072, allocations: 0.4985 MB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.003156, allocations: 0 / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.003289, allocations: 19.8 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.003336, allocations: 15.86 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.003522, allocations: 35.84 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.003645, allocations: 79.75 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003759, allocations: 20.22 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.003827, allocations: 47.89 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.003894, allocations: 23.91 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.00392, allocations: 4 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.003932, allocations: 8 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.003958, allocations: 19.91 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.004001, allocations: 23.94 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.004145, allocations: 59.67 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004147, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004148, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.004154, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005388/0.004693, allocations: 428 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.004739, allocations: 8.031 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.004796, allocations: 16.89 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.00499, allocations: 148.4 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.005009, allocations: 384 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.005032, allocations: 12.38 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.005155, allocations: 70.94 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005163, allocations: 4.188 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.005176, allocations: 4.375 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005184, allocations: 7.875 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.005231, allocations: 26.36 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.005658, allocations: 335.5 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.005745, allocations: 51.08 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.00577, allocations: 15.62 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.005778, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.768e-05/0.005876, allocations: 73.08 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.005877, allocations: 0 / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001847/0.006062, allocations: 69.64 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.006098, allocations: 59.34 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.006186, allocations: 181.9 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006198, allocations: 25.7 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.006259, allocations: 159.1 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.006279, allocations: 11.89 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.00632, allocations: 39.36 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.006443, allocations: 0.4922 MB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.006465, allocations: 11.98 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.006499, allocations: 39.05 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.006553, allocations: 51 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006555, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.096e-05/0.006646, allocations: 77.58 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006659, allocations: 4 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006664, allocations: 4.062 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.006677, allocations: 4 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.006738, allocations: 11.98 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.006744, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.006774, allocations: 4 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.006782, allocations: 11.94 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,fallingEdge.not_u,$PRE.fallingEdge.not_u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.006852, allocations: 156.5 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.006871, allocations: 15.95 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.006899, allocations: 12.42 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006902, allocations: 7.922 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006906, allocations: 4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.00691, allocations: 4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.007139, allocations: 337.2 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.00714, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.007176, allocations: 8 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007178, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.007188, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.00719, allocations: 4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.007192, allocations: 3.938 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.007334, allocations: 224.4 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.007345, allocations: 11.98 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.007359, allocations: 4 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.007398, allocations: 7.984 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.007447, allocations: 15.86 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.007452, allocations: 4 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.007499, allocations: 139.2 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007499, allocations: 0 / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.007649, allocations: 16 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,fallingEdge.not_u,booleanPulse.pulseStart) * Number of discrete states: 1 (fallingEdge.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.492e-05/0.007724, allocations: 92.02 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.007858, allocations: 51.66 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.00786, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.007904, allocations: 27.67 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.008134, allocations: 22.58 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.008513, allocations: 198.2 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.008555, allocations: 63.34 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.715e-05/0.008582, allocations: 7.984 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.008614, allocations: 12.5 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008614, allocations: 0 / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003041/0.01166, allocations: 0.9694 MB / 386.1 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.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.01433836389333]