Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2966/0.2966, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.787e-05, allocations: 6.312 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00261/0.002638, allocations: 1.656 MB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.003512, allocations: 0.5686 MB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.003621, allocations: 7.938 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.003779, allocations: 15.8 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.003832, allocations: 7.875 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.004173, allocations: 91.75 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.004354, allocations: 115.7 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.004493, allocations: 19.92 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004633, allocations: 75.75 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.004706, allocations: 23.91 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.004736, allocations: 8 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.00475, allocations: 8 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.004787, allocations: 27.91 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.004824, allocations: 23.92 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.004976, allocations: 67.78 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.004979, allocations: 0 / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.004981, allocations: 0 / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.004988, allocations: 4 kB / 381.2 MB, free: 15.68 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.0004865/0.005474, allocations: 439.9 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.005521, allocations: 16.02 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.005575, allocations: 16.83 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.005728, allocations: 148.5 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.005747, allocations: 4.375 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.005771, allocations: 16.31 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.005928, allocations: 86.92 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.005935, allocations: 192 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.005946, allocations: 4.375 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005951, allocations: 3.938 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.005985, allocations: 27.91 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.006392, allocations: 316.1 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.006501, allocations: 66.98 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.006523, allocations: 15.75 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.006533, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.00665, allocations: 81.02 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.006651, allocations: 0 / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001561/0.006808, allocations: 77.8 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.006838, allocations: 51.41 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.006928, allocations: 193.2 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.006944, allocations: 41.69 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.006999, allocations: 143.1 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.007023, allocations: 23.88 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.007073, allocations: 31.36 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.007201, allocations: 0.4922 MB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.007225, allocations: 8 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.007257, allocations: 31.3 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.007305, allocations: 43.34 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007307, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.098e-05/0.007398, allocations: 73.58 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.007411, allocations: 8 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.007417, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.007444, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.007528, allocations: 19.94 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007531, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.007563, allocations: 11.94 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.007568, allocations: 4 kB / 383.7 MB, free: 13 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 8.43e-05/0.007653, allocations: 172.5 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.007668, allocations: 7.953 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.007702, allocations: 16.77 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007705, allocations: 0 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007708, allocations: 0 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007712, allocations: 0 / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.007975, allocations: 313.9 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007977, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.00803, allocations: 8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008033, allocations: 3.938 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008042, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008044, allocations: 4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008045, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.008204, allocations: 227.8 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.008221, allocations: 15.94 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.008232, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.008285, allocations: 8 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.008326, allocations: 15.97 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.008333, allocations: 4 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.008385, allocations: 143.2 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008385, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.008532, allocations: 23.95 kB / 384.6 MB, free: 11.98 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 8.69e-05/0.008619, allocations: 99.17 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.008709, allocations: 43.61 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.008711, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.008749, allocations: 27.66 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.008957, allocations: 26.5 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.009439, allocations: 242.1 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.009482, allocations: 59.34 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.009516, allocations: 12.72 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.009579, allocations: 82.2 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.00958, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.00315/0.01273, allocations: 1.378 MB / 386.6 MB, free: 9.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.1095507559366524]