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.001801/0.001801, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00234/0.00234, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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.748/1.748, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2968/0.2968, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002358/0.002358, allocations: 75.88 kB / 0.4966 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5567, allocations: 66.1 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.004549/0.5612, allocations: 1.604 MB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.5628, allocations: 487.8 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.5629, allocations: 4 kB / 0.5632 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.5631, allocations: 15.81 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.5631, allocations: 11.88 kB / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.5635, allocations: 39.88 kB / 0.5633 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.5637, allocations: 75.84 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.5639, allocations: 22.83 kB / 0.5634 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.564, allocations: 39.84 kB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.564, allocations: 23.84 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.5641, allocations: 8 kB / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.5641, allocations: 4 kB / 0.5634 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.5641, allocations: 19.92 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.5643, allocations: 27.81 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.5645, allocations: 79.31 kB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5645, allocations: 0 / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5645, allocations: 0 / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.5645, allocations: 0 / 0.5636 GB, free: 1.492 MB / 398.1 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.0007672/0.5652, allocations: 326.8 kB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5653, allocations: 12.03 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.5653, allocations: 12.88 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.5657, allocations: 142.3 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.5658, allocations: 12.38 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.5658, allocations: 8.375 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.566, allocations: 73.92 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.566, allocations: 3.984 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.566, allocations: 11.94 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5661, allocations: 0 / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.5662, allocations: 31.98 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.567, allocations: 272.3 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.5672, allocations: 50.56 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.5672, allocations: 16.89 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.5672, allocations: 4 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.5675, allocations: 71.36 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.5675, allocations: 0 / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003458/0.5678, allocations: 85.62 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.5679, allocations: 59.34 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.5681, allocations: 121.8 kB / 0.5648 GB, free: 60 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.5681, allocations: 33.69 kB / 0.5648 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.5683, allocations: 92.33 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.5683, allocations: 27.95 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.5684, allocations: 33.66 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.5687, allocations: 322.8 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.5687, allocations: 19.94 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.5688, allocations: 38.56 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.569, allocations: 50.81 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.569, allocations: 0 / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002435/0.5692, allocations: 89.56 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5692, allocations: 4 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5692, allocations: 4.062 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.5692, allocations: 4 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.5693, allocations: 4 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.5693, allocations: 7.938 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.5695, allocations: 15.94 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.5695, allocations: 0 / 0.5655 GB, free: 15.28 MB / 414.1 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 0.0001831/0.5696, allocations: 119.2 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.5697, allocations: 3.953 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.5697, allocations: 12.38 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.5697, allocations: 3.938 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5697, allocations: 7.938 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5697, allocations: 0 / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.5703, allocations: 282.2 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5703, allocations: 192 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.5703, allocations: 7.984 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5704, allocations: 3.938 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.5704, allocations: 3.938 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.5704, allocations: 3.938 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5704, allocations: 0 / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5708, allocations: 187.5 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.5708, allocations: 19.94 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.5708, allocations: 11.97 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.571, allocations: 7.984 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.571, allocations: 3.984 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.571, allocations: 12 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5711, allocations: 95.2 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5711, allocations: 0 / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.5716, allocations: 12 kB / 0.5663 GB, free: 14.43 MB / 414.1 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 0.0001457/0.5717, allocations: 95.25 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.572, allocations: 51.97 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.572, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.5721, allocations: 23.92 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.5725, allocations: 21.38 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.5733, allocations: 202.5 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.5735, allocations: 83.17 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.5735, allocations: 8.062 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.5736, allocations: 11.44 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5736, allocations: 0 / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Templates: time 0.006816/0.5804, allocations: 0.9459 MB / 0.5677 GB, free: 12.96 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.792571932077408]