Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007249/0.0007249, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008551/0.00158, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006474/0.0006474, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008055/0.001453, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8066/0.8066, allocations: 158.6 MB / 171 MB, free: 2.168 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1459/0.9524, allocations: 49.5 MB / 220.5 MB, free: 5.262 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1195/0.1195, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0204/0.1399, allocations: 12.29 MB / 265.9 MB, free: 7.82 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.337e-05, allocations: 6.25 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002128/0.002152, allocations: 1.686 MB / 268.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.00289, allocations: 0.6006 MB / 269.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.002962, allocations: 3.938 kB / 269.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.281e-05/0.003025, allocations: 11.88 kB / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.003064, allocations: 19.84 kB / 269.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.003274, allocations: 83.7 kB / 269.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.003407, allocations: 115.7 kB / 269.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.003504, allocations: 27.91 kB / 269.8 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.003611, allocations: 79.81 kB / 269.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.003666, allocations: 31.89 kB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.003686, allocations: 8 kB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.003698, allocations: 8 kB / 269.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.003717, allocations: 15.94 kB / 269.9 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.003747, allocations: 19.94 kB / 269.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003855, allocations: 59.75 kB / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.00387, allocations: 0 / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003871, allocations: 0 / 270 MB, free: 3.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.003885, allocations: 4 kB / 270 MB, free: 3.738 MB / 266.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.0004216/0.004307, allocations: 332.1 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.004334, allocations: 8.031 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.004364, allocations: 12.92 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004502, allocations: 133.7 kB / 270.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.004518, allocations: 8.375 kB / 270.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.004535, allocations: 16.31 kB / 270.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.004664, allocations: 86.91 kB / 270.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.00467, allocations: 192 / 270.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.004678, allocations: 4.375 kB / 270.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004684, allocations: 3.938 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.004717, allocations: 19.98 kB / 270.6 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.005, allocations: 228 kB / 270.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.00508, allocations: 46.55 kB / 270.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.005095, allocations: 16.84 kB / 270.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.005103, allocations: 0 / 270.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.395e-05/0.005197, allocations: 75.3 kB / 270.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005198, allocations: 0 / 270.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001057/0.005304, allocations: 61.67 kB / 271 MB, free: 2.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.005335, allocations: 51.41 kB / 271.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.005401, allocations: 146.6 kB / 271.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.005412, allocations: 25.7 kB / 271.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.005448, allocations: 96.27 kB / 271.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.005469, allocations: 27.95 kB / 271.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.005501, allocations: 25.7 kB / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.005574, allocations: 326.8 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.005588, allocations: 7.938 kB / 271.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.005618, allocations: 25.7 kB / 271.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.005654, allocations: 33.69 kB / 271.8 MB, free: 1.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005656, allocations: 4 kB / 271.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.996e-05/0.005726, allocations: 69.73 kB / 271.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005738, allocations: 4 kB / 271.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005742, allocations: 0 / 271.8 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.005751, allocations: 4 kB / 271.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.005815, allocations: 12 kB / 271.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005818, allocations: 3.984 kB / 271.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.005848, allocations: 11.94 kB / 271.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.005851, allocations: 4 kB / 271.9 MB, free: 1.676 MB / 266.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 6.997e-05/0.005921, allocations: 121.8 kB / 272 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.005931, allocations: 7.984 kB / 272 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.005954, allocations: 12.78 kB / 272 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005955, allocations: 4 kB / 272 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005957, allocations: 0 / 272 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005959, allocations: 0 / 272 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.006139, allocations: 222.6 kB / 272.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006141, allocations: 4 kB / 272.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.006183, allocations: 7.984 kB / 272.2 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.006193, allocations: 15.89 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.006196, allocations: 0 / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.006202, allocations: 4 kB / 272.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006204, allocations: 4 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006204, allocations: 0 / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.006352, allocations: 171.4 kB / 272.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006363, allocations: 0 / 272.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.006411, allocations: 11.98 kB / 272.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.006444, allocations: 11.98 kB / 272.4 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.00645, allocations: 8.016 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.65e-05/0.006467, allocations: 24.83 kB / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006467, allocations: 0 / 272.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001166/0.006583, allocations: 20 kB / 272.5 MB, free: 0.9883 MB / 266.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.516e-05/0.006648, allocations: 76.36 kB / 272.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.006719, allocations: 48.75 kB / 272.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.006722, allocations: 0 / 272.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.006753, allocations: 24.8 kB / 272.6 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.006899, allocations: 24.05 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.007356, allocations: 219.4 kB / 272.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.007388, allocations: 63.34 kB / 272.9 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.007414, allocations: 8.672 kB / 273 MB, free: 484 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.007467, allocations: 67.36 kB / 273 MB, free: 416 kB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007467, allocations: 0 / 273 MB, free: 416 kB / 266.7 MB Notification: Performance of Templates: time 0.002765/0.01023, allocations: 1.403 MB / 274.4 MB, free: 15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.424599464982748]