Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.00123/0.00123, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005529/0.005529, allocations: 159.7 kB / 24.69 MB, free: 8.898 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 0.9137/0.9137, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2675/0.2675, allocations: 32.8 MB / 294.2 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.561e-05, allocations: 6.219 kB / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002056/0.002082, allocations: 1.609 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.002806, allocations: 0.5375 MB / 443 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.00286, allocations: 0 / 443 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.003097, allocations: 107.5 kB / 443.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.003354, allocations: 107.5 kB / 443.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.003608, allocations: 115.6 kB / 443.3 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003747, allocations: 87.75 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.00384, allocations: 11.98 kB / 443.4 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.003901, allocations: 43.89 kB / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.003983, allocations: 55.88 kB / 443.5 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.003995, allocations: 4 kB / 443.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.097e-05/0.004076, allocations: 47.92 kB / 443.6 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.004119, allocations: 27.84 kB / 443.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.004147, allocations: 11.94 kB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.004301, allocations: 107.6 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004303, allocations: 0 / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004303, allocations: 0 / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.004307, allocations: 0 / 443.7 MB, free: 0.8398 MB / 410.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.0003649/0.004672, allocations: 353.5 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.004705, allocations: 8.031 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.00474, allocations: 20.84 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.004873, allocations: 146.1 kB / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.004881, allocations: 384 / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.004902, allocations: 8.375 kB / 444.3 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.005014, allocations: 50.23 kB / 444.3 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.005028, allocations: 8.141 kB / 444.3 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.005041, allocations: 8.125 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.005045, allocations: 0 / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.005111, allocations: 27.92 kB / 444.4 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1615/0.1666, allocations: 242.3 kB / 444.6 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.1666, allocations: 49.08 kB / 444.6 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.1667, allocations: 24.56 kB / 444.7 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1667, allocations: 2.688 kB / 444.7 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-06/0.1667, allocations: 30.56 kB / 444.7 MB, free: 46.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1667, allocations: 0 / 444.7 MB, free: 46.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004843/0.1672, allocations: 246.7 kB / 444.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/0.1672, allocations: 55.78 kB / 445 MB, free: 46.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1673, allocations: 238.7 kB / 445.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.1673, allocations: 26.89 kB / 445.2 MB, free: 46.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1674, allocations: 110.8 kB / 445.4 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1674, allocations: 24.89 kB / 445.4 MB, free: 46.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.1674, allocations: 23.08 kB / 445.4 MB, free: 46.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.1674, allocations: 329.3 kB / 445.7 MB, free: 45.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.1675, allocations: 28.97 kB / 445.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.1675, allocations: 35.95 kB / 445.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.1676, allocations: 75.42 kB / 445.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1676, allocations: 0 / 445.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001001/0.1677, allocations: 120.8 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1677, allocations: 5.344 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1677, allocations: 2.5 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.1677, allocations: 0 / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.1678, allocations: 17.86 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.1678, allocations: 0 / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1678, allocations: 6.281 kB / 446 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1678, allocations: 6 kB / 446 MB, free: 45.69 MB / 410.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 (8): * Single equations (assignments): 8 * 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 4.352e-05/0.1678, allocations: 135.8 kB / 446.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.1678, allocations: 17.22 kB / 446.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.168, allocations: 131.1 kB / 446.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.168, allocations: 0 / 446.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.168, allocations: 0 / 446.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.168, allocations: 0 / 446.3 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1682, allocations: 368.6 kB / 446.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1682, allocations: 6.469 kB / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1683, allocations: 18.81 kB / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1683, allocations: 0 / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.1683, allocations: 9.156 kB / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1683, allocations: 0 / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1683, allocations: 0 / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1684, allocations: 221.6 kB / 446.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.1684, allocations: 10.64 kB / 446.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1684, allocations: 6.906 kB / 446.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.1684, allocations: 6.188 kB / 446.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.1685, allocations: 2.812 kB / 446.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1685, allocations: 5.938 kB / 446.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.418e-05/0.1685, allocations: 170.6 kB / 447.1 MB, free: 45 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1685, allocations: 0 / 447.1 MB, free: 45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.1687, allocations: 28.31 kB / 447.1 MB, free: 45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0006468/0.1693, allocations: 0.4908 MB / 447.6 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1694, allocations: 68.92 kB / 447.7 MB, free: 44.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1694, allocations: 0 / 447.7 MB, free: 44.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1695, allocations: 36 kB / 447.7 MB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1697, allocations: 26.55 kB / 447.8 MB, free: 44.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.17, allocations: 308.5 kB / 448.1 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.17, allocations: 104 kB / 448.2 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.17, allocations: 17.52 kB / 448.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.17, allocations: 0 / 448.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001759/0.1718, allocations: 1.902 MB / 450.1 MB, free: 44.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.156594706699252]