Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.000978/0.000978, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001201/0.001201, allocations: 170.2 kB / 24.91 MB, free: 8.73 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.9724/0.9724, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2356/0.2356, allocations: 32.81 MB / 294.6 MB, free: 1.203 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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.358e-05, allocations: 9.375 kB / 323.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002378/0.002401, allocations: 1.71 MB / 325 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.003182, allocations: 0.5529 MB / 325.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.003236, allocations: 0 / 325.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.003453, allocations: 51.8 kB / 325.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.0037, allocations: 107.5 kB / 325.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.003932, allocations: 135.6 kB / 325.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.004063, allocations: 87.69 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.004146, allocations: 12.84 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.004217, allocations: 47.89 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.004298, allocations: 39.89 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.004313, allocations: 4 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.004395, allocations: 51.91 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.00446, allocations: 23.92 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.004487, allocations: 23.92 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.004711, allocations: 95.53 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.00472, allocations: 4 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.004723, allocations: 0 / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.00473, allocations: 0 / 326.2 MB, free: 6.742 MB / 298.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.0004066/0.005137, allocations: 305.5 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.005169, allocations: 12.03 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.0052, allocations: 8.922 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005332, allocations: 145.6 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.005339, allocations: 4.312 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.005359, allocations: 8.375 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.005459, allocations: 62.94 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005466, allocations: 192 / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005475, allocations: 8.125 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.00548, allocations: 4 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.005503, allocations: 4 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.005712, allocations: 176.2 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.005865, allocations: 38.55 kB / 326.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.005883, allocations: 16.84 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.005901, allocations: 4 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.005925, allocations: 42.52 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.005926, allocations: 0 / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004881/0.006414, allocations: 214.3 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.006444, allocations: 51.41 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.006552, allocations: 164.9 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.006562, allocations: 29.7 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.006594, allocations: 96.06 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.006624, allocations: 35.69 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.006656, allocations: 25.7 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.006751, allocations: 330.7 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.00677, allocations: 8 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.00679, allocations: 16.91 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.006833, allocations: 37.88 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006834, allocations: 0 / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.316e-05/0.006907, allocations: 65.67 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.006922, allocations: 8 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.006928, allocations: 7.984 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.00694, allocations: 0 / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.007002, allocations: 23.92 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.007005, allocations: 0 / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.007027, allocations: 7.938 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007035, allocations: 4 kB / 328.1 MB, free: 4.66 MB / 298.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 6.732e-05/0.007103, allocations: 116.6 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.007125, allocations: 11.98 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.007273, allocations: 88.45 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.007278, allocations: 8 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007279, allocations: 0 / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007283, allocations: 0 / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.007537, allocations: 284.5 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.00754, allocations: 4 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.007589, allocations: 31.92 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007591, allocations: 0 / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.007597, allocations: 4 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007599, allocations: 0 / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.0076, allocations: 4.062 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.007706, allocations: 181.2 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.007718, allocations: 11.94 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.00773, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.007767, allocations: 4 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.007801, allocations: 19.86 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.007806, allocations: 4 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.007846, allocations: 48.45 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007846, allocations: 0 / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007993, allocations: 27.94 kB / 328.9 MB, free: 3.758 MB / 298.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.00128/0.009273, allocations: 0.5701 MB / 329.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.915e-05/0.009372, allocations: 56.7 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.009378, allocations: 4 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.009407, allocations: 32.78 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.009576, allocations: 27.97 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.009925, allocations: 251.4 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.009964, allocations: 71.33 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.01001, allocations: 12.62 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.01006, allocations: 71.36 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01006, allocations: 0 / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of Templates: time 0.003504/0.01357, allocations: 1.676 MB / 331.7 MB, free: 1.254 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.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: 2.976550716906786]