Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001129/0.001129, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002821, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001222/0.001222, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002779, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9858/0.9858, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08905/1.075, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2393/0.2393, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05153/0.2908, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.838e-05, allocations: 5.328 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00204/0.002058, allocations: 1.746 MB / 294.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.00346, allocations: 1.344 MB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.003515, allocations: 0 / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.003637, allocations: 23.8 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.003865, allocations: 83.55 kB / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.004205, allocations: 184.3 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004344, allocations: 75.78 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.004438, allocations: 15.98 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.004531, allocations: 59.83 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.004628, allocations: 27.89 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.004644, allocations: 12 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.004842, allocations: 103.8 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.004887, allocations: 11.94 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.004911, allocations: 8 kB / 296.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.005112, allocations: 135.5 kB / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-05/0.005127, allocations: 0 / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005128, allocations: 0 / 296.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.005141, allocations: 0 / 296.5 MB, free: 2.449 MB / 282.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.000436/0.005577, allocations: 329.1 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.005607, allocations: 8.031 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.005638, allocations: 8.938 kB / 296.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.005773, allocations: 139.3 kB / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.005782, allocations: 384 / 296.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.005798, allocations: 8.359 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.00592, allocations: 102.3 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005928, allocations: 192 / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.005936, allocations: 8.125 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.005942, allocations: 0 / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/0.005969, allocations: 7.984 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.006213, allocations: 187 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.006267, allocations: 26.58 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.006284, allocations: 12.94 kB / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.006303, allocations: 0 / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.006326, allocations: 46.5 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.006327, allocations: 0 / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.00033/0.006657, allocations: 101.6 kB / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.006684, allocations: 55.41 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.006804, allocations: 140.4 kB / 297.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.006813, allocations: 25.7 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.006843, allocations: 104 kB / 297.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.006862, allocations: 19.86 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.00689, allocations: 21.69 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.006957, allocations: 322.8 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.006971, allocations: 7.938 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.007, allocations: 43.42 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.007038, allocations: 35.64 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007039, allocations: 0 / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.885e-05/0.007108, allocations: 57.62 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.00712, allocations: 4 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007125, allocations: 4.031 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.007133, allocations: 0 / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.007214, allocations: 23.92 kB / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007217, allocations: 0 / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.007243, allocations: 7.984 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.007253, allocations: 0 / 298.3 MB, free: 460 kB / 282.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 6.111e-05/0.007314, allocations: 116.7 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.007334, allocations: 16.14 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.007519, allocations: 70.39 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007521, allocations: 3.984 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007523, allocations: 4 kB / 298.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.007526, allocations: 0 / 298.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.007751, allocations: 231 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007753, allocations: 0 / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.007802, allocations: 19.98 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.007813, allocations: 15.94 kB / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007815, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.00782, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.007822, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.007823, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.165e-05/0.007905, allocations: 159.4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.007916, allocations: 4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.007952, allocations: 7.984 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.007978, allocations: 7.984 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.007982, allocations: 0 / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.975e-05/0.008011, allocations: 31.8 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008011, allocations: 0 / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.008191, allocations: 47.86 kB / 299 MB, free: 15.67 MB / 298.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.00148/0.009672, allocations: 0.6935 MB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.009771, allocations: 36.77 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.00978, allocations: 4 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.009801, allocations: 12.86 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.009974, allocations: 43.11 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.01042, allocations: 206.5 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.01046, allocations: 63.34 kB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.01051, allocations: 16.72 kB / 300.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.01058, allocations: 67.36 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01058, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Templates: time 0.003843/0.01442, allocations: 2.192 MB / 302.3 MB, free: 12.69 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.0675986260175705]