Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001626/0.001626, allocations: 213.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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.2343/0.2343, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 66.03 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003637/0.3422, allocations: 1.672 MB / 0.5627 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3433, allocations: 0.5582 MB / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3434, allocations: 0 / 0.5633 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3436, allocations: 55.73 kB / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.3439, allocations: 83.67 kB / 0.5634 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3444, allocations: 190.9 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.3445, allocations: 95.69 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.3446, allocations: 12.23 kB / 0.5637 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.3447, allocations: 39.83 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.3448, allocations: 47.83 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3448, allocations: 4 kB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3449, allocations: 43.98 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.345, allocations: 27.86 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.345, allocations: 27.84 kB / 0.5639 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3452, allocations: 121.8 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3452, allocations: 0 / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3452, allocations: 0 / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3452, allocations: 0 / 0.564 GB, free: 1.176 MB / 398.1 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.0005581/0.3458, allocations: 341.6 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3458, allocations: 12.03 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3458, allocations: 8.891 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.346, allocations: 144 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3461, allocations: 12.31 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.3461, allocations: 4.375 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3463, allocations: 65.8 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3463, allocations: 0 / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3463, allocations: 4 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3463, allocations: 0 / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3464, allocations: 47.95 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.3469, allocations: 264.3 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3471, allocations: 58.55 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.3472, allocations: 24.97 kB / 0.5649 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3472, allocations: 8.016 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3473, allocations: 34.56 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3473, allocations: 0 / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001604/0.3489, allocations: 429.3 kB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3489, allocations: 51.41 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3491, allocations: 181.8 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3491, allocations: 29.7 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.3492, allocations: 108 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.3493, allocations: 31.7 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.3493, allocations: 33.7 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3495, allocations: 322.8 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3496, allocations: 51.95 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3497, allocations: 55.97 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.35, allocations: 124.7 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.35, allocations: 4 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003445/0.3504, allocations: 161.6 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3504, allocations: 4 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3504, allocations: 4 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3504, allocations: 0 / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3505, allocations: 27.97 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3505, allocations: 3.938 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3506, allocations: 23.92 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3506, allocations: 0 / 0.5666 GB, free: 14.38 MB / 414.1 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 0.0001176/0.3507, allocations: 125.8 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.3508, allocations: 11.91 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.3512, allocations: 186.7 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3512, allocations: 0 / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.3512, allocations: 7.938 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3512, allocations: 4 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.3519, allocations: 439.7 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3519, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.352, allocations: 27.92 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3521, allocations: 7.938 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3521, allocations: 96 / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3521, allocations: 12.19 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3521, allocations: 4 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.3525, allocations: 269.1 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.3525, allocations: 15.84 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3525, allocations: 7.984 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.3526, allocations: 11.94 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.3527, allocations: 11.98 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3527, allocations: 8 kB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3528, allocations: 135.2 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3528, allocations: 0 / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3531, allocations: 23.94 kB / 0.5678 GB, free: 13.02 MB / 414.1 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.001889/0.3549, allocations: 0.4928 MB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.3553, allocations: 119.8 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3553, allocations: 4 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3555, allocations: 67.89 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3559, allocations: 30.34 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.3565, allocations: 308.1 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3566, allocations: 100.7 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.844e-05/0.3567, allocations: 36.52 kB / 0.5689 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.3567, allocations: 15.44 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3567, allocations: 3.938 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.004861/0.3616, allocations: 1.665 MB / 0.5706 GB, free: 10.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.162402192130685]