Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.0009816/0.0009816, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.00106/0.00106, allocations: 160.5 kB / 24.99 MB, free: 9.305 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.261/0.261, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.1 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.342e-05, allocations: 2.312 kB / 378.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002226/0.00225, allocations: 1.711 MB / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007187/0.002968, allocations: 0.5452 MB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.003018, allocations: 4 kB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.003263, allocations: 71.77 kB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.003519, allocations: 115.4 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.003752, allocations: 131.6 kB / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.003893, allocations: 83.81 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.003983, allocations: 12.22 kB / 380.7 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.004053, allocations: 55.81 kB / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.004141, allocations: 55.86 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.00416, allocations: 7.938 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.004245, allocations: 47.92 kB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.004312, allocations: 27.91 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.004339, allocations: 15.94 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.004507, allocations: 95.81 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004508, allocations: 4 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00451, allocations: 3.938 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004513, allocations: 0 / 381 MB, free: 15.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003775/0.004891, allocations: 447.9 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.004928, allocations: 12.03 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.00497, allocations: 12.84 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005111, allocations: 157 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.005127, allocations: 4.375 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.005152, allocations: 4.375 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005274, allocations: 66.88 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005284, allocations: 8.141 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.005293, allocations: 8.125 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.0053, allocations: 4 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.005341, allocations: 11.98 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.005635, allocations: 295.7 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.005798, allocations: 54.97 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.005826, allocations: 19.67 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.005845, allocations: 4.125 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.005863, allocations: 41.39 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.005864, allocations: 4 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005768/0.006441, allocations: 253.1 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.00647, allocations: 55.41 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.006596, allocations: 234.4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.006606, allocations: 25.7 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.006659, allocations: 154.9 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.006688, allocations: 47.62 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.006722, allocations: 31.38 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006828, allocations: 0.5 MB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.006856, allocations: 16 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.006881, allocations: 15.98 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.00694, allocations: 47.95 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006941, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001059/0.007047, allocations: 97.5 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.007058, allocations: 8 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.007062, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.007072, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.00713, allocations: 27.98 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007135, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.00716, allocations: 7.953 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.007167, allocations: 7.984 kB / 383.7 MB, free: 13.1 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 (11): * Single equations (assignments): 11 * 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.314e-05/0.00723, allocations: 164.5 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.007252, allocations: 15.95 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.007395, allocations: 107.6 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007398, allocations: 4 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007401, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007404, allocations: 4 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.007708, allocations: 420.6 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.00771, allocations: 0 / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.007758, allocations: 27.98 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.00776, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.007768, allocations: 4 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.007771, allocations: 7.875 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007772, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.007913, allocations: 263.1 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-06/0.007923, allocations: 12.02 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.007937, allocations: 4 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.007983, allocations: 11.92 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.008021, allocations: 7.984 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.008028, allocations: 11.94 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.008097, allocations: 167.2 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008097, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.00827, allocations: 23.98 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009051/0.009175, allocations: 439 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.009288, allocations: 55.61 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00929, allocations: 0 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-05/0.00933, allocations: 43.81 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.009538, allocations: 27.88 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.009907, allocations: 262.7 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.009956, allocations: 75.27 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.953e-05/0.009995, allocations: 20.61 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.01003, allocations: 20.5 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01003, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003074/0.0131, allocations: 1.591 MB / 387.4 MB, free: 9.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.2714390291366726]