Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.0009089/0.0009089, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001032/0.001032, allocations: 161 kB / 24.56 MB, free: 8 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.003/1.003, allocations: 177.2 MB / 205 MB, free: 5.598 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.2492/0.2492, allocations: 34.25 MB / 295.7 MB, free: 0.7461 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.271e-05, allocations: 5.828 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.01063/0.01066, allocations: 1.689 MB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.0118, allocations: 0.5725 MB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.01186, allocations: 0 / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.01253, allocations: 463 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.01305, allocations: 295.1 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.01351, allocations: 167.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.01381, allocations: 179.6 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.01392, allocations: 19.98 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.01408, allocations: 115.8 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.01438, allocations: 243.6 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.0144, allocations: 4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.0145, allocations: 43.86 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.01462, allocations: 75.72 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.01468, allocations: 47.72 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.01502, allocations: 199.2 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01502, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01502, allocations: 0 / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.01503, allocations: 0 / 382.1 MB, free: 14.52 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.0008709/0.0159, allocations: 0.697 MB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.01595, allocations: 8.031 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.01605, allocations: 44.66 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.01637, allocations: 248.8 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.01638, allocations: 4.375 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.01641, allocations: 384 / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.01657, allocations: 66.94 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.01658, allocations: 192 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.0166, allocations: 4.125 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.01661, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.01665, allocations: 15.98 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.01724, allocations: 431.5 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.01747, allocations: 46.97 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.0175, allocations: 11.69 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01752, allocations: 4 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.01756, allocations: 41.47 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.01756, allocations: 4 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005751/0.01813, allocations: 184.7 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.01818, allocations: 55.41 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.01885, allocations: 0.6354 MB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.01887, allocations: 25.7 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.01912, allocations: 282.8 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.01916, allocations: 19.8 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.01923, allocations: 23.38 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.0195, allocations: 0.5508 MB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.01953, allocations: 4 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.01956, allocations: 15.98 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.01963, allocations: 31.81 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01963, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.01979, allocations: 93.41 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.01981, allocations: 4 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01981, allocations: 3.938 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.01983, allocations: 0 / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.01991, allocations: 12 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.01992, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.01994, allocations: 3.984 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01995, allocations: 8 kB / 385.7 MB, free: 10.76 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 (5): * Single equations (assignments): 5 * 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 9.903e-05/0.02005, allocations: 160.5 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.02009, allocations: 43.72 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.02026, allocations: 97.22 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02026, allocations: 4 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.02026, allocations: 0 / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.02027, allocations: 0 / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.02066, allocations: 469.2 kB / 386.4 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02066, allocations: 0 / 386.4 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.0207, allocations: 16 kB / 386.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.0207, allocations: 0 / 386.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.02071, allocations: 7.938 kB / 386.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.02071, allocations: 192 / 386.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02071, allocations: 4 kB / 386.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.02086, allocations: 243.5 kB / 386.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.0209, allocations: 47.66 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.02091, allocations: 0 / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.02095, allocations: 0 / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.02099, allocations: 4 kB / 386.7 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.021, allocations: 3.984 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.02128, allocations: 434.8 kB / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02128, allocations: 0 / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.02146, allocations: 19.98 kB / 387.2 MB, free: 9.156 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 (5): * Single equations (assignments): 5 * 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.001004/0.02246, allocations: 401.7 kB / 387.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.02258, allocations: 23.62 kB / 387.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02258, allocations: 4 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.02261, allocations: 23.67 kB / 387.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.02288, allocations: 25.95 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.02363, allocations: 0.581 MB / 388.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.75e-05/0.02372, allocations: 119.2 kB / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.255e-05/0.02376, allocations: 15.98 kB / 388.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.0238, allocations: 20.48 kB / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0238, allocations: 0 / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of Templates: time 0.004312/0.02812, allocations: 1.473 MB / 389.9 MB, free: 6.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.2425651121884584]