Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001002/0.001002, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001334/0.001334, allocations: 166.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9494/0.9494, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1447/0.1447, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 4 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.445e-05, allocations: 6.25 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002153/0.002178, allocations: 1.63 MB / 350.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.002668, allocations: 347.1 kB / 350.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.002726, allocations: 0 / 350.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.003121, allocations: 455.1 kB / 351.3 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.003362, allocations: 259.4 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.003654, allocations: 151.6 kB / 351.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.003828, allocations: 167.6 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.003923, allocations: 12.17 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.004005, allocations: 115.8 kB / 352 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.004157, allocations: 239.6 kB / 352.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004173, allocations: 4 kB / 352.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.004232, allocations: 31.92 kB / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.004299, allocations: 91.7 kB / 352.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.004329, allocations: 35.75 kB / 352.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.004507, allocations: 191.2 kB / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004509, allocations: 0 / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004509, allocations: 0 / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.004514, allocations: 0 / 352.6 MB, free: 5.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.0003788/0.004893, allocations: 0.697 MB / 353.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.004925, allocations: 8.031 kB / 353.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.004968, allocations: 52.61 kB / 353.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.005108, allocations: 236.9 kB / 353.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.005116, allocations: 8.375 kB / 353.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.005134, allocations: 4.375 kB / 353.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.00522, allocations: 62.86 kB / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.00523, allocations: 192 / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.00524, allocations: 7.938 kB / 353.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.005245, allocations: 0 / 353.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.005268, allocations: 8 kB / 353.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.005543, allocations: 336.3 kB / 354 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.005685, allocations: 42.98 kB / 354.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.005703, allocations: 11.62 kB / 354.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.005723, allocations: 8 kB / 354.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.00574, allocations: 33.39 kB / 354.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.005741, allocations: 0 / 354.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002984/0.006039, allocations: 125.5 kB / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.006065, allocations: 51.41 kB / 354.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.006352, allocations: 0.6001 MB / 354.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.00636, allocations: 25.7 kB / 354.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.00648, allocations: 290.7 kB / 355.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.006503, allocations: 27.78 kB / 355.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.006534, allocations: 19.38 kB / 355.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.006619, allocations: 0.5586 MB / 355.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.006631, allocations: 4 kB / 355.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.006642, allocations: 7.938 kB / 355.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.00667, allocations: 23.67 kB / 355.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006672, allocations: 3.938 kB / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.365e-05/0.006746, allocations: 93.44 kB / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.006755, allocations: 8 kB / 355.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.00676, allocations: 3.984 kB / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.006769, allocations: 0 / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.006803, allocations: 11.98 kB / 355.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006806, allocations: 0 / 355.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.006829, allocations: 12 kB / 356 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.006833, allocations: 4.188 kB / 356 MB, free: 1.891 MB / 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 (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 5.102e-05/0.006884, allocations: 156.5 kB / 356.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.006913, allocations: 43.72 kB / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.007014, allocations: 97.22 kB / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007016, allocations: 0 / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007018, allocations: 0 / 356.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007021, allocations: 4 kB / 356.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.007229, allocations: 385.8 kB / 356.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00723, allocations: 4 kB / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.007256, allocations: 8 kB / 356.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.007261, allocations: 7.984 kB / 356.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-06/0.007266, allocations: 0 / 356.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007267, allocations: 0 / 356.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007269, allocations: 0 / 356.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/0.007357, allocations: 243.5 kB / 356.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.007375, allocations: 31.72 kB / 356.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.007388, allocations: 4 kB / 356.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.007422, allocations: 4 kB / 356.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.007445, allocations: 3.984 kB / 356.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.007448, allocations: 8 kB / 356.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.007593, allocations: 386.7 kB / 357.3 MB, free: 476 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007593, allocations: 0 / 357.3 MB, free: 476 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.007751, allocations: 23.98 kB / 357.3 MB, free: 452 kB / 282.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.0007647/0.008515, allocations: 376.1 kB / 357.7 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.716e-05/0.008582, allocations: 31.67 kB / 357.7 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.008584, allocations: 0 / 357.7 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.008602, allocations: 27.61 kB / 357.8 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.00881, allocations: 27.14 kB / 357.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.009339, allocations: 0.5704 MB / 358.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.009409, allocations: 119.2 kB / 358.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.009436, allocations: 8 kB / 358.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.009488, allocations: 82.19 kB / 358.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009489, allocations: 0 / 358.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003434/0.01292, allocations: 1.496 MB / 360.1 MB, free: 13.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.2079027397558093]