Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00227/0.00227, allocations: 217.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.2 MB / 256.7 MB, free: 8.617 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.9 MB / 359.9 MB, free: 4.93 MB / 286.1 MB [Timeout remaining time 90] 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 79.86 kB / 0.495 GB, free: 8.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3707, allocations: 65.99 MB / 0.5594 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002887/0.3735, allocations: 1.639 MB / 0.561 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3747, allocations: 0.5892 MB / 0.5616 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.3747, allocations: 4 kB / 0.5616 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3749, allocations: 11.86 kB / 0.5616 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.3749, allocations: 7.875 kB / 0.5616 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3753, allocations: 99.75 kB / 0.5617 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3755, allocations: 107.8 kB / 0.5618 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3756, allocations: 26.64 kB / 0.5618 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.3757, allocations: 51.77 kB / 0.5619 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.3757, allocations: 43.83 kB / 0.5619 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3758, allocations: 8 kB / 0.5619 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.3758, allocations: 8 kB / 0.5619 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.3758, allocations: 15.92 kB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.3759, allocations: 43.73 kB / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.376, allocations: 95.28 kB / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.376, allocations: 0 / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.376, allocations: 0 / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.376, allocations: 0 / 0.5621 GB, free: 2.355 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006878/0.3767, allocations: 415 kB / 0.5625 GB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3768, allocations: 15.97 kB / 0.5625 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.3768, allocations: 8.891 kB / 0.5625 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3771, allocations: 204.2 kB / 0.5627 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3771, allocations: 12.38 kB / 0.5627 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3772, allocations: 8.375 kB / 0.5627 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.3775, allocations: 109.8 kB / 0.5628 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3775, allocations: 0 / 0.5628 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3775, allocations: 4 kB / 0.5628 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3775, allocations: 4 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3776, allocations: 54.06 kB / 0.5629 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.3784, allocations: 388.5 kB / 0.5633 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3788, allocations: 94.52 kB / 0.5634 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3789, allocations: 44.91 kB / 0.5634 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3789, allocations: 0 / 0.5634 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.3792, allocations: 95.3 kB / 0.5635 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3792, allocations: 0 / 0.5635 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004866/0.3797, allocations: 153.5 kB / 0.5636 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3797, allocations: 55.34 kB / 0.5637 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3799, allocations: 148.8 kB / 0.5638 GB, free: 400 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3799, allocations: 25.7 kB / 0.5639 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.38, allocations: 116 kB / 0.564 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.38, allocations: 19.84 kB / 0.564 GB, free: 228 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.3801, allocations: 25.72 kB / 0.564 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3802, allocations: 322.8 kB / 0.5643 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3804, allocations: 39.91 kB / 0.5644 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3805, allocations: 53.69 kB / 0.5644 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3807, allocations: 69.88 kB / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3807, allocations: 0 / 0.5645 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002799/0.381, allocations: 129.4 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.381, allocations: 7.938 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.381, allocations: 0 / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.381, allocations: 7.984 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3811, allocations: 12 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3812, allocations: 4.031 kB / 0.5646 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.3812, allocations: 20.05 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3813, allocations: 8 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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.0001043/0.3814, allocations: 113.8 kB / 0.5648 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3814, allocations: 15.84 kB / 0.5648 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.3814, allocations: 12.72 kB / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3814, allocations: 0 / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3814, allocations: 0 / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3814, allocations: 4 kB / 0.5648 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.382, allocations: 402.4 kB / 0.5652 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.382, allocations: 0 / 0.5652 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.3821, allocations: 15.98 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3821, allocations: 4 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3821, allocations: 0 / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3821, allocations: 0 / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3821, allocations: 4 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.3826, allocations: 251.3 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3826, allocations: 89.05 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3826, allocations: 3.984 kB / 0.5655 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3828, allocations: 19.92 kB / 0.5655 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.3828, allocations: 11.98 kB / 0.5656 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3828, allocations: 4 kB / 0.5656 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.3829, allocations: 114.8 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3829, allocations: 4.062 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.3832, allocations: 16 kB / 0.5657 GB, free: 14.34 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,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.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.0001121/0.3833, allocations: 95.25 kB / 0.5658 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.3836, allocations: 83.81 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3836, allocations: 4.344 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3837, allocations: 43.92 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.384, allocations: 29.88 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.3849, allocations: 300 kB / 0.5662 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3853, allocations: 0.6971 MB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.3853, allocations: 11.44 kB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3853, allocations: 8 kB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003185/0.3885, allocations: 1.335 MB / 0.5682 GB, free: 11.68 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches