Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.002495/0.002495, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002734/0.002734, allocations: 161.3 kB / 24.27 MB, free: 152 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.651/1.651, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3708/0.3708, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.168e-05, allocations: 6.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003748/0.00378, allocations: 1.673 MB / 379 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.006037, allocations: 1.29 MB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.006117, allocations: 4 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.006398, allocations: 27.73 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.00681, allocations: 83.55 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.007317, allocations: 179.4 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.007503, allocations: 79.77 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.007608, allocations: 16 kB / 380.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.007698, allocations: 39.89 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.00784, allocations: 35.89 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.007864, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.008087, allocations: 99.75 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.008156, allocations: 15.98 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.008199, allocations: 15.94 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.008537, allocations: 163.4 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.00854, allocations: 0 / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008541, allocations: 0 / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.008546, allocations: 4 kB / 381 MB, free: 15.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006744/0.009221, allocations: 435.7 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.009261, allocations: 8.031 kB / 381.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.009328, allocations: 12.89 kB / 381.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.009595, allocations: 152.3 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.009607, allocations: 4.375 kB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.009636, allocations: 4.375 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.009889, allocations: 103.2 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.009904, allocations: 192 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.009922, allocations: 4.125 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.009928, allocations: 4 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.01005, allocations: 23.98 kB / 381.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.01065, allocations: 295.8 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.01081, allocations: 46.98 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.01089, allocations: 31.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01092, allocations: 3.984 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.01097, allocations: 33.39 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.01097, allocations: 0 / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008703/0.01184, allocations: 181.4 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.01192, allocations: 81.09 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.01216, allocations: 216.2 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.01218, allocations: 25.7 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.0123, allocations: 142.9 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.01235, allocations: 27.75 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.0124, allocations: 27.38 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000336/0.01274, allocations: 0.5001 MB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.01283, allocations: 19.98 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01298, allocations: 81.05 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.01316, allocations: 59.59 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01316, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002582/0.01342, allocations: 93.62 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01344, allocations: 4 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01345, allocations: 4.031 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.01346, allocations: 0 / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01359, allocations: 19.98 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01359, allocations: 3.938 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.01365, allocations: 7.984 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.01366, allocations: 0 / 383.6 MB, free: 12.37 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 0.0001361/0.0138, allocations: 164.5 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.01384, allocations: 15.95 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.01417, allocations: 114.3 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01417, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01417, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01418, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.01476, allocations: 377.3 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01476, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.01484, allocations: 19.98 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01484, allocations: 0 / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.01485, allocations: 0 / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.01485, allocations: 4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01485, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.0152, allocations: 252.1 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01522, allocations: 11.95 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.01525, allocations: 3.984 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.01532, allocations: 4 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.01537, allocations: 7.984 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01538, allocations: 8 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.01551, allocations: 151.2 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01551, allocations: 4 kB / 384.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.01581, allocations: 43.86 kB / 384.8 MB, free: 11.13 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.00328/0.01909, allocations: 0.5318 MB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.01937, allocations: 71.58 kB / 385.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01937, allocations: 0 / 385.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.0195, allocations: 39.67 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.01982, allocations: 19.94 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.02038, allocations: 217.1 kB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02048, allocations: 83.31 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.561e-05/0.02057, allocations: 24.64 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.02063, allocations: 24.48 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02063, allocations: 4 kB / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.006244/0.02688, allocations: 1.988 MB / 387.8 MB, free: 8.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 5.042677285033278]