Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001429/0.001429, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001739/0.001739, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3341/0.3341, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.015e-05, allocations: 9.766 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003078/0.003108, allocations: 1.615 MB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004272, allocations: 0.5259 MB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.004328, allocations: 7.938 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.004629, allocations: 87.67 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.00494, allocations: 119.5 kB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.00521, allocations: 87.7 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.005387, allocations: 91.67 kB / 377.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.005472, allocations: 12 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.005572, allocations: 47.88 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.005687, allocations: 55.86 kB / 377.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.005708, allocations: 4 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.005807, allocations: 43.92 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.00586, allocations: 15.94 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.005903, allocations: 23.91 kB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.006117, allocations: 115.5 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006119, allocations: 4 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006121, allocations: 0 / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.006125, allocations: 0 / 378.1 MB, free: 2.102 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.0005306/0.006655, allocations: 341.5 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.006692, allocations: 12.03 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.006742, allocations: 8.891 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.006955, allocations: 154.1 kB / 378.6 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.006971, allocations: 8.312 kB / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.007002, allocations: 4.375 kB / 378.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.007159, allocations: 54.23 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.007173, allocations: 8.125 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.007184, allocations: 4.125 kB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.007192, allocations: 4 kB / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.007309, allocations: 19.98 kB / 378.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.007717, allocations: 236.5 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.007842, allocations: 46.48 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.007904, allocations: 24.88 kB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.007925, allocations: 0 / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.00796, allocations: 38.56 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.007961, allocations: 0 / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000966/0.008927, allocations: 221.2 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.00898, allocations: 55.39 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.009322, allocations: 238.8 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.009343, allocations: 25.7 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.009433, allocations: 116.1 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.009471, allocations: 27.75 kB / 379.7 MB, free: 344 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.009516, allocations: 17.72 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.009721, allocations: 330.8 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.01006, allocations: 31.91 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.01013, allocations: 23.98 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.01032, allocations: 65.05 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01033, allocations: 0 / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002533/0.01058, allocations: 101.6 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01059, allocations: 4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0106, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01062, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01074, allocations: 23.92 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01074, allocations: 0 / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.01079, allocations: 7.984 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.0108, allocations: 7.938 kB / 380.3 MB, free: 15.71 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 0.000131/0.01093, allocations: 133.8 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.01097, allocations: 15.91 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.0113, allocations: 123.1 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.0113, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.0113, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01131, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.01191, allocations: 358.9 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01191, allocations: 3.938 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.01199, allocations: 19.98 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.012, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.012, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01201, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01201, allocations: 0 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.01233, allocations: 208.2 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01235, allocations: 7.906 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.01237, allocations: 12.03 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.01245, allocations: 7.984 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.01249, allocations: 7.922 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.01249, allocations: 4 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.01268, allocations: 176.3 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01268, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.01298, allocations: 23.92 kB / 381.4 MB, free: 14.55 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.002355/0.01534, allocations: 492.6 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.01556, allocations: 59.91 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01556, allocations: 0 / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.01566, allocations: 31.97 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.01605, allocations: 26.86 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.01665, allocations: 281.2 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01676, allocations: 96.8 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.01681, allocations: 8.719 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.01686, allocations: 24.5 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01686, allocations: 0 / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Templates: time 0.004693/0.02155, allocations: 1.389 MB / 383.8 MB, free: 12.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7738830969901755]