Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.0007206/0.0007206, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.001876, allocations: 452 kB / 10.43 MB, free: 264 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.000702/0.000702, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001712, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8723/0.8723, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1366/1.009, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1348/0.1348, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02738/0.1622, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.601e-05, allocations: 6.25 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002099/0.002125, allocations: 1.639 MB / 269 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00316, allocations: 1.111 MB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.003203, allocations: 4 kB / 270.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.003314, allocations: 19.8 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.003424, allocations: 43.72 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003599, allocations: 91.69 kB / 270.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003711, allocations: 67.77 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.003785, allocations: 8 kB / 270.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.003871, allocations: 39.91 kB / 270.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.003955, allocations: 19.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.003973, allocations: 4 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.004084, allocations: 51.92 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.004116, allocations: 15.86 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.004136, allocations: 11.94 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.004281, allocations: 67.75 kB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.004292, allocations: 4 kB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004293, allocations: 0 / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.004306, allocations: 4 kB / 270.6 MB, free: 15.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003255/0.004632, allocations: 292.1 kB / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.612e-05/0.004658, allocations: 12.03 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.004687, allocations: 8.938 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.004803, allocations: 121.7 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.00481, allocations: 384 / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.004827, allocations: 8.375 kB / 271 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.431e-05/0.004921, allocations: 90.36 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004929, allocations: 192 / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004938, allocations: 12.11 kB / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004944, allocations: 4 kB / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.872e-05/0.004962, allocations: 8 kB / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.005145, allocations: 171 kB / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.913e-05/0.005245, allocations: 25.5 kB / 271.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.005259, allocations: 12.84 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.005271, allocations: 0 / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.00529, allocations: 38.56 kB / 271.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-07/0.005291, allocations: 0 / 271.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002135/0.005504, allocations: 97.45 kB / 271.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.005524, allocations: 55.41 kB / 271.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.005596, allocations: 128.3 kB / 271.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.005604, allocations: 25.7 kB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.005633, allocations: 92.11 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.005649, allocations: 19.86 kB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.005673, allocations: 17.7 kB / 271.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.005739, allocations: 314.8 kB / 272.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.00575, allocations: 11.94 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.005775, allocations: 51.39 kB / 272.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.005797, allocations: 15.69 kB / 272.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.005797, allocations: 0 / 272.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.637e-05/0.005844, allocations: 57.64 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.005853, allocations: 4 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.005856, allocations: 0 / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.005865, allocations: 0 / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.622e-05/0.005901, allocations: 11.94 kB / 272.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.005903, allocations: 4 kB / 272.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.005919, allocations: 7.984 kB / 272.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.005923, allocations: 0 / 272.3 MB, free: 13.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.806e-05/0.005971, allocations: 112.7 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.005987, allocations: 7.938 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.006059, allocations: 65.98 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.006059, allocations: 0 / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006061, allocations: 4.062 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006065, allocations: 4 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.006231, allocations: 202.8 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.006233, allocations: 7.938 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.006258, allocations: 8 kB / 272.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.006264, allocations: 7.891 kB / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006266, allocations: 7.984 kB / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.006269, allocations: 0 / 272.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00627, allocations: 4 kB / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006271, allocations: 0 / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.905e-05/0.00634, allocations: 155.4 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006349, allocations: 0 / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.006378, allocations: 4 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.006399, allocations: 7.984 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006402, allocations: 4 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.559e-05/0.006428, allocations: 28.17 kB / 272.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006428, allocations: 0 / 272.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006564, allocations: 16 kB / 272.9 MB, free: 12.76 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001175/0.007739, allocations: 0.617 MB / 273.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.859e-05/0.007808, allocations: 20.86 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.007814, allocations: 7.984 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.007839, allocations: 24.72 kB / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.008, allocations: 83.33 kB / 273.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.008329, allocations: 158 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.00836, allocations: 59.34 kB / 273.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.008393, allocations: 11.97 kB / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.008448, allocations: 67.36 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008448, allocations: 0 / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of Templates: time 0.002693/0.01114, allocations: 1.552 MB / 275.5 MB, free: 10.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.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.572663439437747]