Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001503/0.001503, allocations: 75.75 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.001749/0.001749, allocations: 163.8 kB / 24.99 MB, free: 8.789 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2515/0.2515, allocations: 32.8 MB / 294.6 MB, free: 1.27 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.625e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003234/0.00326, allocations: 1.713 MB / 377.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.004962, allocations: 1.289 MB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.00503, allocations: 0 / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.005256, allocations: 19.8 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.005614, allocations: 87.55 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.005941, allocations: 131.6 kB / 379.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.00612, allocations: 75.77 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.006233, allocations: 11.98 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.006323, allocations: 39.84 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.006448, allocations: 31.89 kB / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.006468, allocations: 4 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.006657, allocations: 95.81 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.006723, allocations: 15.94 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.00676, allocations: 23.91 kB / 379.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.007028, allocations: 135.5 kB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.007031, allocations: 0 / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.007032, allocations: 0 / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007037, allocations: 4 kB / 379.7 MB, free: 1.281 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.0005373/0.007574, allocations: 431.9 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.007619, allocations: 12.03 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.00768, allocations: 8.891 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007894, allocations: 147.9 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.007908, allocations: 4.312 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.007937, allocations: 4.375 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.008136, allocations: 108 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.008149, allocations: 192 / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.008164, allocations: 8.125 kB / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.008173, allocations: 4 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.008226, allocations: 7.984 kB / 380.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.008597, allocations: 287.6 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.008686, allocations: 35.06 kB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.00872, allocations: 19.7 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.008739, allocations: 0 / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.008768, allocations: 41.39 kB / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.008769, allocations: 0 / 380.8 MB, free: 44 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005581/0.009327, allocations: 133.5 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.009376, allocations: 77.11 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.009547, allocations: 201.9 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.009564, allocations: 25.7 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.009629, allocations: 142.8 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.009657, allocations: 19.78 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.009702, allocations: 27.38 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.00985, allocations: 0.4884 MB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.009884, allocations: 16 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.009946, allocations: 53.06 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/0.01001, allocations: 35.62 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01002, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001349/0.01015, allocations: 69.84 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.01017, allocations: 10.03 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01017, allocations: 0 / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.01019, allocations: 4 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.0103, allocations: 19.92 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.0103, allocations: 3.938 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.01035, allocations: 16.02 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.01036, allocations: 4 kB / 382.1 MB, free: 14.62 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 (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 8.805e-05/0.01045, allocations: 156.5 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.01049, allocations: 19.91 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.01067, allocations: 78.39 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01067, allocations: 3.938 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01068, allocations: 0 / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01068, allocations: 3.984 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.01106, allocations: 333.4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01107, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.01114, allocations: 19.98 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01114, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.01115, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01115, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01116, allocations: 3.938 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01134, allocations: 219.8 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01136, allocations: 7.953 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01138, allocations: 0 / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.01146, allocations: 8 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.0115, allocations: 7.984 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.0115, allocations: 4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.055e-05/0.01159, allocations: 147.2 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01159, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.01191, allocations: 43.86 kB / 383.1 MB, free: 13.49 MB / 362.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 (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 Backend phase and start with SimCode phase: time 0.001433/0.01335, allocations: 491.9 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01352, allocations: 43.61 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01352, allocations: 4 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.01357, allocations: 23.67 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.0139, allocations: 23.98 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.01441, allocations: 192.7 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.01446, allocations: 63.34 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.01453, allocations: 24.27 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.01458, allocations: 16.5 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01459, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.005045/0.01963, allocations: 1.973 MB / 386 MB, free: 10.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.254245525924489]