Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009405/0.0009405, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009981/0.0009981, allocations: 161 kB / 24.56 MB, free: 12 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 0.9716/0.9716, allocations: 177.1 MB / 205 MB, free: 5.641 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.2812/0.2812, allocations: 34.25 MB / 295.7 MB, free: 0.7617 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.72e-05, allocations: 5.828 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002765/0.002792, allocations: 1.717 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.003665, allocations: 0.5764 MB / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.003746, allocations: 0 / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.004068, allocations: 75.64 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.004391, allocations: 103.5 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.004782, allocations: 183.5 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004984, allocations: 91.75 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.005106, allocations: 20.16 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.00518, allocations: 51.89 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.005279, allocations: 55.86 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.005295, allocations: 4 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.005393, allocations: 47.92 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.005469, allocations: 35.84 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.005508, allocations: 19.92 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.005707, allocations: 103.6 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005709, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00571, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005716, allocations: 0 / 381.1 MB, free: 15.55 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.0006095/0.006326, allocations: 451.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.006372, allocations: 8.031 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.006434, allocations: 24.78 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.006604, allocations: 156.9 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.006616, allocations: 384 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.00664, allocations: 8.375 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.006785, allocations: 66.94 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.006796, allocations: 192 / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.006811, allocations: 8.125 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006818, allocations: 0 / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.899e-05/0.006857, allocations: 15.92 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.007216, allocations: 315.6 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.007419, allocations: 63 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.007443, allocations: 15.69 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.007463, allocations: 4 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.007484, allocations: 33.39 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.007485, allocations: 0 / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007197/0.008205, allocations: 253.6 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.008244, allocations: 51.41 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.008392, allocations: 233.9 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.008408, allocations: 33.7 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.008476, allocations: 158.8 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.008513, allocations: 35.69 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008554, allocations: 31.38 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.008711, allocations: 0.504 MB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.008747, allocations: 11.98 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.008774, allocations: 12 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.907e-05/0.008843, allocations: 55.61 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008844, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001302/0.008974, allocations: 97.8 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.008989, allocations: 12 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008995, allocations: 0 / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.009011, allocations: 3.984 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.009086, allocations: 23.98 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009091, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.009117, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.009125, allocations: 0 / 383.8 MB, free: 12.69 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 7.915e-05/0.009204, allocations: 164.5 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.009235, allocations: 19.91 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.009416, allocations: 119 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.00942, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.009423, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009427, allocations: 0 / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.009814, allocations: 424.5 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.009817, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.009885, allocations: 28.17 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.009889, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.009904, allocations: 8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.009907, allocations: 3.938 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.009909, allocations: 4.062 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.01009, allocations: 259.1 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.0101, allocations: 11.91 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.01012, allocations: 8 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.01017, allocations: 11.92 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.01021, allocations: 11.98 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.01022, allocations: 4 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.074e-05/0.0103, allocations: 168.2 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.01049, allocations: 31.92 kB / 385 MB, free: 11.34 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.001023/0.01151, allocations: 434.1 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.01166, allocations: 55.61 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01167, allocations: 3.938 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.01171, allocations: 43.59 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01194, allocations: 24.2 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.01237, allocations: 289.1 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.01242, allocations: 79.31 kB / 385.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.01247, allocations: 28.45 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.01251, allocations: 16.5 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01251, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003868/0.01638, allocations: 1.787 MB / 387.8 MB, free: 8.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.2369595170021057]