Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.0009446/0.0009446, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001936/0.001936, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.998/0.998, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.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.1321/0.1321, allocations: 32.8 MB / 294.6 MB, free: 15.45 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.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 323.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.741e-05, allocations: 6.312 kB / 323.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.00216/0.002187, allocations: 1.656 MB / 324.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000725/0.002912, allocations: 0.5569 MB / 325.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.00296, allocations: 0 / 325.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.003218, allocations: 111.6 kB / 325.6 MB, free: 448 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.003461, allocations: 123.5 kB / 325.7 MB, free: 324 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.003678, allocations: 107.7 kB / 325.8 MB, free: 216 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.00381, allocations: 99.67 kB / 325.9 MB, free: 116 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.003883, allocations: 7.984 kB / 325.9 MB, free: 108 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.003947, allocations: 55.88 kB / 326 MB, free: 52 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.00404, allocations: 51.95 kB / 326 MB, free: 16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.004051, allocations: 4 kB / 326 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.00412, allocations: 43.92 kB / 326.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.004164, allocations: 31.83 kB / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.004187, allocations: 23.86 kB / 326.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004316, allocations: 99.59 kB / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.004317, allocations: 0 / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004317, allocations: 0 / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.00432, allocations: 0 / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002957/0.004616, allocations: 328.1 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.004643, allocations: 11.98 kB / 326.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.00467, allocations: 12.92 kB / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.004928, allocations: 146.3 kB / 326.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.004938, allocations: 4.375 kB / 326.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.004956, allocations: 4.375 kB / 326.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.433e-05/0.00504, allocations: 66.88 kB / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005048, allocations: 192 / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.005054, allocations: 4.125 kB / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.00506, allocations: 4 kB / 326.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.005081, allocations: 4 kB / 326.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.005287, allocations: 183.1 kB / 327 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.005335, allocations: 37.39 kB / 327 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.00535, allocations: 8.859 kB / 327 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.005363, allocations: 0 / 327 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.005383, allocations: 38.5 kB / 327 MB, free: 14.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005384, allocations: 4 kB / 327 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003945/0.005779, allocations: 137.5 kB / 327.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.005812, allocations: 55.41 kB / 327.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.00594, allocations: 197.6 kB / 327.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.005952, allocations: 29.7 kB / 327.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.005985, allocations: 100.1 kB / 327.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.006008, allocations: 23.75 kB / 327.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.006039, allocations: 29.58 kB / 327.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.006121, allocations: 334.8 kB / 327.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.006134, allocations: 8 kB / 327.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.006147, allocations: 4 kB / 327.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/0.006183, allocations: 31.67 kB / 328 MB, free: 13.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006184, allocations: 0 / 328 MB, free: 13.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.283e-05/0.006247, allocations: 61.61 kB / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.006257, allocations: 4 kB / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006261, allocations: 0 / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.006272, allocations: 0 / 328 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.006332, allocations: 23.92 kB / 328.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.006335, allocations: 320 / 328.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.006353, allocations: 8 kB / 328.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006359, allocations: 0 / 328.1 MB, free: 13.77 MB / 314.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 (8): * Single equations (assignments): 8 * 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.002e-05/0.006419, allocations: 124.6 kB / 328.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.006435, allocations: 7.938 kB / 328.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.006542, allocations: 79.53 kB / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006543, allocations: 0 / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.006545, allocations: 0 / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006548, allocations: 3.938 kB / 328.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.006788, allocations: 259.5 kB / 328.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.00679, allocations: 8.016 kB / 328.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.006822, allocations: 12 kB / 328.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.006825, allocations: 0 / 328.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.006832, allocations: 8 kB / 328.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.006834, allocations: 0 / 328.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006835, allocations: 0 / 328.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.17e-05/0.006927, allocations: 164.2 kB / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.006938, allocations: 11.91 kB / 328.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.006949, allocations: 4 kB / 328.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.00698, allocations: 4 kB / 328.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.007013, allocations: 15.97 kB / 328.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.007016, allocations: 0 / 328.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.191e-05/0.007068, allocations: 63.64 kB / 328.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007068, allocations: 0 / 328.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.007205, allocations: 23.88 kB / 328.8 MB, free: 12.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001255/0.008461, allocations: 0.5683 MB / 329.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.008545, allocations: 36.72 kB / 329.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.008551, allocations: 4 kB / 329.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.008574, allocations: 24.83 kB / 329.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.008724, allocations: 19.98 kB / 329.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.009037, allocations: 242.5 kB / 329.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.009077, allocations: 79.39 kB / 329.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.883e-05/0.009106, allocations: 4.734 kB / 329.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.009158, allocations: 63.36 kB / 329.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009158, allocations: 0 / 329.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of Templates: time 0.002931/0.01209, allocations: 1.541 MB / 331.4 MB, free: 10.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.0367285939864814]