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.0009876/0.0009876, allocations: 95.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.001005/0.001005, allocations: 160.5 kB / 24.55 MB, free: 12 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.028/1.028, allocations: 177 MB / 204.8 MB, free: 5.613 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.2877/0.2877, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 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.923e-06/1.923e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.202e-05, allocations: 3.297 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002797/0.002829, allocations: 1.651 MB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008374/0.003667, allocations: 0.5024 MB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.00376, allocations: 0 / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.003894, allocations: 11.86 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.024e-05/0.003944, allocations: 11.88 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.004168, allocations: 47.83 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.004315, allocations: 75.77 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.004448, allocations: 20.2 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.004522, allocations: 43.91 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.004593, allocations: 23.91 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.004614, allocations: 7.938 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.004627, allocations: 8 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.004656, allocations: 15.92 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.004693, allocations: 23.92 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.004833, allocations: 55.73 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004836, allocations: 4 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004837, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.004845, allocations: 0 / 381.3 MB, free: 15.55 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.0005904/0.005435, allocations: 428 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.005482, allocations: 8.031 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.005537, allocations: 20.89 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.005732, allocations: 144.4 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.005753, allocations: 4.375 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.005781, allocations: 8.375 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.005926, allocations: 78.94 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005933, allocations: 192 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.005946, allocations: 4.375 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.005956, allocations: 3.938 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.006008, allocations: 26.31 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.006484, allocations: 331.5 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.006586, allocations: 50.98 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.006614, allocations: 15.72 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.006625, allocations: 0 / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.00675, allocations: 77.08 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.006751, allocations: 0 / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.00023/0.006981, allocations: 85.55 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.007026, allocations: 55.41 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007138, allocations: 177.9 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.007157, allocations: 29.7 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.007234, allocations: 151.1 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.00726, allocations: 15.89 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.007308, allocations: 27.38 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.007455, allocations: 0.4961 MB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.007484, allocations: 12 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.007526, allocations: 39.05 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.007594, allocations: 54.98 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.007597, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.007714, allocations: 81.56 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.00773, allocations: 4 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007736, allocations: 3.938 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.007754, allocations: 4 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.007831, allocations: 16 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.007837, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.007879, allocations: 11.98 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.007886, allocations: 7.938 kB / 383.7 MB, free: 12.89 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 8.77e-05/0.007973, allocations: 164.5 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.007988, allocations: 7.953 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.008019, allocations: 8.438 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.008022, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.008028, allocations: 4 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008032, allocations: 0 / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.008321, allocations: 337.3 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.008325, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.008376, allocations: 7.984 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008378, allocations: 0 / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.00839, allocations: 0 / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.008394, allocations: 4 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.008396, allocations: 3.938 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.008594, allocations: 232.3 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.008609, allocations: 11.95 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.008624, allocations: 0 / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.008674, allocations: 4 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.008726, allocations: 11.95 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.008733, allocations: 11.98 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.6e-05/0.008789, allocations: 139.5 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00879, allocations: 0 / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.008961, allocations: 16 kB / 384.6 MB, free: 11.87 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 8.355e-05/0.009044, allocations: 91.25 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.009169, allocations: 43.61 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.009172, allocations: 3.938 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.009213, allocations: 27.67 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.009459, allocations: 20.11 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.00989, allocations: 206 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.009941, allocations: 65.53 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.009977, allocations: 8 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.01002, allocations: 12.5 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01002, allocations: 0 / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003095/0.01311, allocations: 0.9245 MB / 386 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.381289684213698]