Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007498/0.0007498, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001781, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006325/0.0006325, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.00157, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.879/0.879, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1485/1.028, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1298/0.1298, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05131/0.1811, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.91e-07/6.91e-07, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.877e-06/9.568e-06, allocations: 6.25 kB / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001732/0.001741, allocations: 1.707 MB / 287.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.002357, allocations: 0.5531 MB / 288.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.002412, allocations: 7.938 kB / 288.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.002458, allocations: 15.8 kB / 288.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.002488, allocations: 7.875 kB / 288.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.00265, allocations: 91.69 kB / 288.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.002751, allocations: 119.7 kB / 288.3 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.00281, allocations: 19.92 kB / 288.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.002893, allocations: 79.88 kB / 288.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.002936, allocations: 31.89 kB / 288.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.00295, allocations: 8 kB / 288.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-06/0.00296, allocations: 12 kB / 288.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.002978, allocations: 15.92 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.003, allocations: 19.94 kB / 288.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.965e-05/0.00309, allocations: 59.7 kB / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.003098, allocations: 0 / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003098, allocations: 0 / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.003106, allocations: 0 / 288.6 MB, free: 5.66 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.0003244/0.00343, allocations: 320.2 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.057e-05/0.003451, allocations: 12.03 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.003477, allocations: 12.92 kB / 288.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.003591, allocations: 141.5 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.003605, allocations: 8.375 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.00362, allocations: 8.375 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.003727, allocations: 94.84 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.003733, allocations: 192 / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003742, allocations: 8.359 kB / 289.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.003748, allocations: 7.938 kB / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.003776, allocations: 15.98 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.004022, allocations: 224 kB / 289.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.004105, allocations: 46.55 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.00412, allocations: 8.859 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.004127, allocations: 4 kB / 289.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/0.004204, allocations: 79.25 kB / 289.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.004205, allocations: 0 / 289.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 8.987e-05/0.004295, allocations: 57.67 kB / 289.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.004319, allocations: 55.41 kB / 289.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.004375, allocations: 137.5 kB / 289.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.004387, allocations: 25.7 kB / 289.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.004417, allocations: 108.2 kB / 289.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.004435, allocations: 23.92 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.004463, allocations: 29.64 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.004528, allocations: 326.8 kB / 290.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.004541, allocations: 7.984 kB / 290.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.004561, allocations: 21.72 kB / 290.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.004592, allocations: 29.64 kB / 290.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004594, allocations: 4 kB / 290.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.872e-05/0.004653, allocations: 73.64 kB / 290.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.00466, allocations: 4 kB / 290.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.004663, allocations: 0 / 290.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.004671, allocations: 0 / 290.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.955e-05/0.00472, allocations: 15.98 kB / 290.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.004725, allocations: 4.312 kB / 290.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.004752, allocations: 7.984 kB / 290.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004756, allocations: 4 kB / 290.5 MB, free: 3.605 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 4.838e-05/0.004805, allocations: 117.8 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.004813, allocations: 12 kB / 290.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.004833, allocations: 20.7 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.004834, allocations: 0 / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.004837, allocations: 4 kB / 290.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.00484, allocations: 0 / 290.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.00501, allocations: 218.7 kB / 290.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005011, allocations: 0 / 290.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.005048, allocations: 8 kB / 290.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.00506, allocations: 15.94 kB / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005061, allocations: 0 / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.005067, allocations: 7.938 kB / 290.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005068, allocations: 0 / 290.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005068, allocations: 0 / 290.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.005172, allocations: 171.4 kB / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.005182, allocations: 0 / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.005228, allocations: 11.98 kB / 291 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.005258, allocations: 15.97 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.005262, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.764e-05/0.00528, allocations: 24.78 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00528, allocations: 0 / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001173/0.005397, allocations: 27.97 kB / 291.1 MB, free: 2.914 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 5.611e-05/0.005453, allocations: 80.34 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.005518, allocations: 40.78 kB / 291.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.005521, allocations: 0 / 291.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.005553, allocations: 24.84 kB / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.005709, allocations: 105.1 kB / 291.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.006129, allocations: 224.4 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.006157, allocations: 63.34 kB / 291.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.006182, allocations: 8.734 kB / 291.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.006234, allocations: 67.3 kB / 291.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006234, allocations: 0 / 291.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of Templates: time 0.002416/0.00865, allocations: 1.377 MB / 293.1 MB, free: 0.875 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5916337547823787]