Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001114/0.001114, allocations: 80.98 kB / 20.65 MB, free: 3.836 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.001423/0.001423, allocations: 177 kB / 24.06 MB, free: 444 kB / 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 1.084/1.084, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1331/0.1331, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.68e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001704/0.001721, allocations: 1.638 MB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.00215, allocations: 347.2 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.002206, allocations: 4 kB / 350.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.002611, allocations: 463.1 kB / 350.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.002833, allocations: 247.4 kB / 350.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.003064, allocations: 155.6 kB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.003209, allocations: 167.7 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.003295, allocations: 11.98 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.003381, allocations: 119.8 kB / 351.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.003524, allocations: 247.5 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.003541, allocations: 4 kB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.0036, allocations: 31.94 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.003663, allocations: 83.7 kB / 351.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.003695, allocations: 39.73 kB / 351.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003851, allocations: 195.2 kB / 351.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003854, allocations: 3.984 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003854, allocations: 0 / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.003859, allocations: 0 / 351.9 MB, free: 5.434 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.000388/0.004247, allocations: 0.7009 MB / 352.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.004295, allocations: 12.03 kB / 352.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.004342, allocations: 40.66 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004478, allocations: 244.9 kB / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.004487, allocations: 8.375 kB / 352.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.004504, allocations: 4.328 kB / 352.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.004593, allocations: 54.95 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.004602, allocations: 192 / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004611, allocations: 12.11 kB / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004617, allocations: 0 / 352.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.004641, allocations: 15.94 kB / 352.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.004912, allocations: 340.3 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.004965, allocations: 43.02 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.004982, allocations: 15.69 kB / 353.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.005003, allocations: 0 / 353.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.005018, allocations: 41.27 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005019, allocations: 0 / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002903/0.00531, allocations: 149.3 kB / 353.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.005326, allocations: 55.41 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.005572, allocations: 0.5962 MB / 354.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.005578, allocations: 25.7 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.005674, allocations: 298.7 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.005691, allocations: 23.78 kB / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.005722, allocations: 27.38 kB / 354.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.0058, allocations: 0.5586 MB / 355.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.005813, allocations: 8 kB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.005826, allocations: 8.062 kB / 355.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.005858, allocations: 35.66 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005859, allocations: 0 / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.056e-05/0.005929, allocations: 105.3 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.005939, allocations: 8 kB / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005943, allocations: 0 / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.005954, allocations: 0 / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.006011, allocations: 12 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.006014, allocations: 3.984 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.00604, allocations: 8 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006045, allocations: 4 kB / 355.3 MB, free: 1.805 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 (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 4.951e-05/0.006095, allocations: 152.6 kB / 355.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.006121, allocations: 51.66 kB / 355.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.00623, allocations: 109.5 kB / 355.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.006232, allocations: 4 kB / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006234, allocations: 0 / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006236, allocations: 0 / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.006444, allocations: 393.9 kB / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006445, allocations: 0 / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.006479, allocations: 23.92 kB / 356 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00648, allocations: 0 / 356 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.006485, allocations: 0 / 356 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006486, allocations: 0 / 356 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006487, allocations: 4 kB / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.686e-05/0.006574, allocations: 255.5 kB / 356.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.006592, allocations: 35.72 kB / 356.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.006606, allocations: 0 / 356.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.006651, allocations: 7.984 kB / 356.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.006679, allocations: 11.98 kB / 356.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006682, allocations: 0 / 356.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.006817, allocations: 386.7 kB / 356.7 MB, free: 340 kB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006817, allocations: 0 / 356.7 MB, free: 340 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000154/0.006971, allocations: 27.92 kB / 356.7 MB, free: 312 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 (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.0007311/0.007702, allocations: 394.6 kB / 357.1 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.007811, allocations: 27.67 kB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007813, allocations: 0 / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.007841, allocations: 31.61 kB / 357.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.008072, allocations: 35.14 kB / 357.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.008655, allocations: 0.5785 MB / 357.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.332e-05/0.008738, allocations: 123.2 kB / 357.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.577e-05/0.008774, allocations: 7.984 kB / 357.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.008842, allocations: 82.2 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008843, allocations: 4 kB / 358 MB, free: 15.06 MB / 298.7 MB Notification: Performance of Templates: time 0.004224/0.01307, allocations: 1.642 MB / 359.6 MB, free: 13.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.177474894095212]