Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0007738/0.0007738, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001855, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006872/0.0006872, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009197/0.001607, allocations: 479.5 kB / 11.82 MB, free: 2.344 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/1, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09605/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2693/0.2693, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02537/0.2947, allocations: 13.11 MB / 291.5 MB, free: 7.328 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.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.238e-05, allocations: 4.812 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002145/0.002167, allocations: 1.767 MB / 294.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003284, allocations: 1.006 MB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.003355, allocations: 0 / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.003533, allocations: 67.61 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.003756, allocations: 111.4 kB / 295.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003925, allocations: 79.55 kB / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.004061, allocations: 111.6 kB / 296.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.004093, allocations: 4.234 kB / 296.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.004209, allocations: 91.73 kB / 296.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.004284, allocations: 39.88 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.004296, allocations: 4 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.00436, allocations: 31.94 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.004399, allocations: 15.92 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.004423, allocations: 15.94 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.00455, allocations: 83.69 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.004558, allocations: 0 / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004559, allocations: 4 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.004566, allocations: 0 / 296.3 MB, free: 2.672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003486/0.004915, allocations: 325.1 kB / 296.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.449e-05/0.004939, allocations: 12.03 kB / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.004966, allocations: 8.922 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.005099, allocations: 146.2 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.00511, allocations: 4.375 kB / 296.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.005118, allocations: 384 / 296.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.501e-05/0.005213, allocations: 57.77 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.005219, allocations: 3.938 kB / 296.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.005225, allocations: 8 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.005229, allocations: 0 / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.005247, allocations: 11.98 kB / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.547e-05/0.005323, allocations: 70.59 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.005389, allocations: 37.38 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.005406, allocations: 16.86 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.005415, allocations: 0 / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.118e-05/0.005496, allocations: 62.2 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.005497, allocations: 0 / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 9.596e-05/0.005593, allocations: 65.61 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.005619, allocations: 55.34 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.00572, allocations: 177.3 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.005735, allocations: 29.7 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.005758, allocations: 88.12 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.005785, allocations: 19.88 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.005808, allocations: 17.72 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.167e-05/0.00588, allocations: 326.8 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.005895, allocations: 6.828 kB / 297.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.005911, allocations: 17.7 kB / 297.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.005946, allocations: 39.61 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005948, allocations: 7.938 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.089e-05/0.006009, allocations: 56.52 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.006019, allocations: 4 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006022, allocations: 0 / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.00603, allocations: 0 / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.006089, allocations: 23.86 kB / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006091, allocations: 0 / 298 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.006116, allocations: 7.938 kB / 298 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.00612, allocations: 4.031 kB / 298 MB, free: 0.8164 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.71e-05/0.006177, allocations: 117.8 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.006187, allocations: 7.984 kB / 298.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.006267, allocations: 66.8 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006269, allocations: 4 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.00627, allocations: 3.938 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006273, allocations: 0 / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.895e-05/0.006342, allocations: 81.88 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.006343, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.006361, allocations: 15.92 kB / 298.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.006372, allocations: 11.89 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006374, allocations: 4 kB / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.006378, allocations: 0 / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006379, allocations: 0 / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.006381, allocations: 3.938 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.281e-05/0.006444, allocations: 90.94 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.006458, allocations: 4 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.006477, allocations: 0 / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.006497, allocations: 7.984 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.006505, allocations: 0 / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.006546, allocations: 59.58 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006546, allocations: 4 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001362/0.006683, allocations: 19.95 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001432/0.008114, allocations: 0.5633 MB / 299.1 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.008216, allocations: 32.78 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.008224, allocations: 4 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.008255, allocations: 20.84 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.008437, allocations: 176.5 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.008859, allocations: 198.8 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.628e-05/0.008895, allocations: 63.34 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.008925, allocations: 8.484 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.008979, allocations: 63.38 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.00898, allocations: 3.938 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003136/0.01212, allocations: 1.802 MB / 301.4 MB, free: 13.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.894823811016977]