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.001097/0.001097, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.002201, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000687/0.000687, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008559/0.001543, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.123/1.123, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09526/1.219, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2437/0.2437, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02618/0.2699, allocations: 13.09 MB / 291.3 MB, free: 7.379 MB / 282.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 1.503e-06/1.503e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.168e-05, allocations: 3.859 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002013/0.002034, allocations: 1.722 MB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000756/0.00279, allocations: 0.5764 MB / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.002875, allocations: 7.938 kB / 294.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.002941, allocations: 11.88 kB / 294.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.002981, allocations: 11.86 kB / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.003201, allocations: 103.6 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.003361, allocations: 108.2 kB / 295.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003475, allocations: 19.98 kB / 295.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003598, allocations: 79.8 kB / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.003674, allocations: 27.91 kB / 295.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.003711, allocations: 8 kB / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.003728, allocations: 8 kB / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.003761, allocations: 19.94 kB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.003809, allocations: 19.94 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.003944, allocations: 55.81 kB / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.003961, allocations: 7.938 kB / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003961, allocations: 0 / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.003976, allocations: 0 / 295.4 MB, free: 3.523 MB / 282.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.0004926/0.004469, allocations: 317.4 kB / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.004501, allocations: 8.031 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.004536, allocations: 12.92 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.004696, allocations: 154.7 kB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.004716, allocations: 8.312 kB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.004733, allocations: 8.375 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.004871, allocations: 86.84 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004879, allocations: 192 / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.004888, allocations: 8.375 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.004895, allocations: 3.938 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.004934, allocations: 21.25 kB / 296 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.005263, allocations: 224 kB / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/0.005357, allocations: 46.55 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.005375, allocations: 12.84 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.005384, allocations: 0 / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.005494, allocations: 79.27 kB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.005495, allocations: 0 / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001225/0.005617, allocations: 61.67 kB / 296.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.005658, allocations: 51.41 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.005728, allocations: 136.9 kB / 296.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.005741, allocations: 25.7 kB / 296.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.005784, allocations: 104.3 kB / 296.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.005803, allocations: 23.91 kB / 296.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.005838, allocations: 21.72 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.005914, allocations: 326.8 kB / 297.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.005928, allocations: 8 kB / 297.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.005954, allocations: 33.62 kB / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.005991, allocations: 29.7 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005994, allocations: 0 / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.077e-05/0.006065, allocations: 69.61 kB / 297.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.006076, allocations: 4 kB / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00608, allocations: 0 / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.006089, allocations: 4 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.006159, allocations: 19.97 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.006163, allocations: 4.297 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.006192, allocations: 4 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.006196, allocations: 8 kB / 297.3 MB, free: 1.469 MB / 282.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,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 5.833e-05/0.006255, allocations: 113.8 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.006264, allocations: 11.92 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.006287, allocations: 12.78 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006289, allocations: 4 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.00629, allocations: 0 / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.006294, allocations: 4 kB / 297.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.006477, allocations: 234.6 kB / 297.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.006478, allocations: 4 kB / 297.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.006522, allocations: 11.98 kB / 297.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.00653, allocations: 7.953 kB / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006532, allocations: 0 / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.006538, allocations: 0 / 297.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006541, allocations: 4 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006541, allocations: 0 / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.006671, allocations: 167.4 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.006683, allocations: 4.031 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.006731, allocations: 11.98 kB / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.006769, allocations: 15.97 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.006774, allocations: 3.984 kB / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.006794, allocations: 26.61 kB / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006794, allocations: 0 / 297.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001197/0.006914, allocations: 20 kB / 297.9 MB, free: 0.7734 MB / 282.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,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 6.435e-05/0.006978, allocations: 72.97 kB / 298 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.007063, allocations: 52.7 kB / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.007066, allocations: 0 / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.0071, allocations: 20.86 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.007254, allocations: 25.12 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.007774, allocations: 245 kB / 298.3 MB, free: 336 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.007807, allocations: 63.34 kB / 298.4 MB, free: 252 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.631e-05/0.007834, allocations: 4.734 kB / 298.4 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.007889, allocations: 67.36 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007889, allocations: 0 / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of Templates: time 0.002677/0.01057, allocations: 1.344 MB / 299.8 MB, free: 14.85 MB / 298.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 -ignoreHideResult -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.0262868627905846]