Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001381/0.001381, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001281/0.001281, allocations: 165.9 kB / 24.99 MB, free: 8.793 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 1.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2676/0.2676, allocations: 32.8 MB / 294.6 MB, free: 1.273 MB / 266.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.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.19e-05, allocations: 9.688 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002528/0.002559, allocations: 1.665 MB / 377.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.00336, allocations: 0.5259 MB / 378.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.003438, allocations: 4 kB / 378.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.003743, allocations: 79.7 kB / 378.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.004087, allocations: 111.5 kB / 378.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.00435, allocations: 87.59 kB / 378.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.004519, allocations: 91.73 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.004618, allocations: 7.984 kB / 378.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/0.004698, allocations: 47.89 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004805, allocations: 51.86 kB / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.004821, allocations: 4 kB / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.004911, allocations: 51.92 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.004961, allocations: 19.92 kB / 378.8 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.004996, allocations: 15.92 kB / 378.8 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.005158, allocations: 91.61 kB / 378.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005161, allocations: 0 / 378.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.005164, allocations: 4 kB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005169, allocations: 0 / 378.9 MB, free: 2.129 MB / 346.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.0003977/0.005566, allocations: 439.9 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.005608, allocations: 8.031 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.005653, allocations: 16.84 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.005805, allocations: 153.1 kB / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005814, allocations: 384 / 379.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.005837, allocations: 12.36 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.005961, allocations: 54.95 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.005971, allocations: 4.188 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.005982, allocations: 4.125 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.005989, allocations: 0 / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.006022, allocations: 11.98 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.006327, allocations: 303.5 kB / 379.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.00639, allocations: 35.06 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.006418, allocations: 27.7 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.006437, allocations: 0 / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.006458, allocations: 33.39 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.00646, allocations: 4 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.007021, allocations: 173.3 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.007052, allocations: 51.41 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.007198, allocations: 238.4 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.007208, allocations: 25.7 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.007268, allocations: 158.8 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.007295, allocations: 23.81 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.007328, allocations: 27.38 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.007463, allocations: 0.5 MB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.007488, allocations: 11.98 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.007507, allocations: 12 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.007557, allocations: 35.89 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.007558, allocations: 0 / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.725e-05/0.007655, allocations: 77.53 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.00767, allocations: 8 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007676, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.00769, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.007773, allocations: 15.98 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007778, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.0078, allocations: 8 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007806, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.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 7.923e-05/0.007885, allocations: 168.5 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.007909, allocations: 15.91 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.008051, allocations: 91.05 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008053, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008057, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.008061, allocations: 7.938 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.00836, allocations: 373 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008362, allocations: 4 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.008407, allocations: 15.98 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.00841, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.008419, allocations: 4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.008421, allocations: 4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008422, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.00855, allocations: 239.4 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008561, allocations: 7.953 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.008575, allocations: 4.031 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.008611, allocations: 8 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.008647, allocations: 11.92 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.008651, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.008728, allocations: 167.2 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008728, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.008909, allocations: 23.98 kB / 382.4 MB, free: 14.27 MB / 362.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.0009354/0.009844, allocations: 440.3 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.009955, allocations: 47.61 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009957, allocations: 0 / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.00999, allocations: 27.61 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01023, allocations: 27.94 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.01059, allocations: 229.8 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.01063, allocations: 67.34 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01067, allocations: 17.08 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.01069, allocations: 16.5 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0107, allocations: 0 / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003315/0.01401, allocations: 1.373 MB / 384.7 MB, free: 12.15 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.3814627279061824]