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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001468/0.001468, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001082/0.001082, allocations: 161 kB / 24.99 MB, free: 8.805 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 0.9477/0.9477, allocations: 177 MB / 205.2 MB, free: 5.605 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.2888/0.2888, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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.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 1.192e-06/1.192e-06, allocations: 0 / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.481e-05, allocations: 6.312 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00173/0.001745, allocations: 1.665 MB / 380.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.002409, allocations: 0.5646 MB / 381 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.002487, allocations: 0 / 381 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.002588, allocations: 11.86 kB / 381 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.002629, allocations: 23.8 kB / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.002879, allocations: 87.75 kB / 381.1 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003017, allocations: 115.8 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.003114, allocations: 27.83 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.003195, allocations: 55.89 kB / 381.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.003247, allocations: 35.88 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.00327, allocations: 8 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.003283, allocations: 8 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.003306, allocations: 23.92 kB / 381.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.003344, allocations: 31.84 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.003463, allocations: 59.81 kB / 381.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003465, allocations: 0 / 381.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003466, allocations: 0 / 381.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003469, allocations: 0 / 381.5 MB, free: 15.71 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004254/0.003895, allocations: 451.9 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.003925, allocations: 8.031 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.003967, allocations: 12.89 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004127, allocations: 158.7 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.004148, allocations: 4.375 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.004172, allocations: 16.33 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.004337, allocations: 90.91 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004344, allocations: 192 / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.004354, allocations: 4.312 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.004363, allocations: 3.938 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.004415, allocations: 23.98 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.004806, allocations: 351.5 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.00491, allocations: 67.02 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.004934, allocations: 15.72 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.004942, allocations: 0 / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.005042, allocations: 77.05 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.005043, allocations: 4 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001664/0.00521, allocations: 85.56 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.005241, allocations: 51.41 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.005331, allocations: 196.2 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005343, allocations: 25.7 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.005402, allocations: 155.1 kB / 383.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.005422, allocations: 19.89 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.005458, allocations: 31.38 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.005554, allocations: 0.4961 MB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.005577, allocations: 8 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.005609, allocations: 35.36 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.005656, allocations: 43.31 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005657, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.544e-05/0.005743, allocations: 81.56 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.005752, allocations: 4 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005757, allocations: 4 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005768, allocations: 0 / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.005831, allocations: 8 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.005837, allocations: 11.97 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.005872, allocations: 11.94 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005876, allocations: 4 kB / 384 MB, free: 12.96 MB / 362.7 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,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.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 6.472e-05/0.005941, allocations: 168.5 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.005953, allocations: 11.95 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.005979, allocations: 16.77 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00598, allocations: 0 / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.005983, allocations: 3.938 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005986, allocations: 0 / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.006202, allocations: 341.3 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006203, allocations: 0 / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.006242, allocations: 11.98 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006243, allocations: 0 / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.006253, allocations: 4 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.006254, allocations: 4 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006255, allocations: 0 / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.006569, allocations: 231.8 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.00658, allocations: 11.95 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.006593, allocations: 4.031 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.006647, allocations: 11.98 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.006697, allocations: 23.89 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.006702, allocations: 4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.006747, allocations: 139.2 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006747, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.006895, allocations: 19.95 kB / 385 MB, free: 11.9 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,change.u,booleanPulse.pulseStart) * 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 6.43e-05/0.006959, allocations: 95.23 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.00706, allocations: 47.61 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007062, allocations: 4 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.007105, allocations: 32.12 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.007305, allocations: 23.09 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.007735, allocations: 258.1 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.007769, allocations: 63.28 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.007796, allocations: 12.72 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.007825, allocations: 12.5 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007825, allocations: 0 / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Templates: time 0.002535/0.01036, allocations: 1.25 MB / 386.7 MB, free: 10.07 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.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: 2.992999562062323]