Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007585/0.0007585, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001777, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.002198, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9514/0.9514, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1725/1.124, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.1336/0.1336, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01898/0.1526, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.998e-06/1.147e-05, allocations: 9.547 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001874/0.001885, allocations: 1.708 MB / 287.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005213/0.002407, allocations: 434.8 kB / 288 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.002451, allocations: 4 kB / 288 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.002826, allocations: 483 kB / 288.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.003049, allocations: 275.3 kB / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.003266, allocations: 139.4 kB / 288.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.003437, allocations: 159.7 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.003515, allocations: 12.17 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.003665, allocations: 159.7 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.003827, allocations: 187.7 kB / 289.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.003845, allocations: 4 kB / 289.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.003919, allocations: 39.86 kB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.004005, allocations: 83.66 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.004035, allocations: 31.81 kB / 289.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.004222, allocations: 183.2 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.004232, allocations: 4 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.004233, allocations: 0 / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.004242, allocations: 0 / 289.7 MB, free: 4.492 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.0005043/0.004746, allocations: 0.5876 MB / 290.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.004776, allocations: 12.03 kB / 290.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.004814, allocations: 24.91 kB / 290.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.004979, allocations: 238.1 kB / 290.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.004986, allocations: 384 / 290.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.005004, allocations: 12.36 kB / 290.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.005089, allocations: 54.95 kB / 290.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005099, allocations: 8.188 kB / 290.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.005106, allocations: 3.938 kB / 290.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.005111, allocations: 0 / 290.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.00514, allocations: 19.92 kB / 290.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.00533, allocations: 160.2 kB / 290.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.005388, allocations: 30.62 kB / 290.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.005403, allocations: 8.859 kB / 290.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.005419, allocations: 0 / 290.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.00544, allocations: 42.5 kB / 290.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.005442, allocations: 7.938 kB / 290.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002803/0.005722, allocations: 117.8 kB / 291.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.005747, allocations: 55.41 kB / 291.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.006068, allocations: 0.5205 MB / 291.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006079, allocations: 29.69 kB / 291.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.006137, allocations: 141.3 kB / 291.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.006158, allocations: 23.78 kB / 291.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.006186, allocations: 21.7 kB / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.006316, allocations: 358.7 kB / 292.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.00633, allocations: 4 kB / 292.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.064e-05/0.00634, allocations: 8.078 kB / 292.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.006372, allocations: 32.97 kB / 292.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006373, allocations: 0 / 292.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.823e-05/0.006442, allocations: 77.52 kB / 292.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.006452, allocations: 8 kB / 292.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.006456, allocations: 0 / 292.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.006468, allocations: 3.984 kB / 292.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.006531, allocations: 12 kB / 292.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.006534, allocations: 4 kB / 292.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.006563, allocations: 7.984 kB / 292.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.006567, allocations: 4 kB / 292.3 MB, free: 1.723 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 6.187e-05/0.006629, allocations: 112.7 kB / 292.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.006655, allocations: 27.91 kB / 292.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.006753, allocations: 93.48 kB / 292.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.006755, allocations: 4 kB / 292.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.006757, allocations: 3.984 kB / 292.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00676, allocations: 0 / 292.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.006979, allocations: 274.6 kB / 292.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.00698, allocations: 0 / 292.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.007018, allocations: 23.92 kB / 292.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.007038, allocations: 39.66 kB / 292.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.007039, allocations: 0 / 292.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.007043, allocations: 0 / 292.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007044, allocations: 4 kB / 292.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007045, allocations: 3.984 kB / 292.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.213e-05/0.007127, allocations: 167.5 kB / 293.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.00714, allocations: 0 / 293.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.007187, allocations: 8 kB / 293.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.007214, allocations: 7.984 kB / 293.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.007217, allocations: 0 / 293.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.007382, allocations: 283.2 kB / 293.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007382, allocations: 4 kB / 293.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.007517, allocations: 24 kB / 293.4 MB, free: 0.6055 MB / 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.001138/0.008655, allocations: 0.5484 MB / 294 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.467e-05/0.00873, allocations: 32.83 kB / 294 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.008737, allocations: 4 kB / 294 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.008767, allocations: 28.78 kB / 294 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.008974, allocations: 101.2 kB / 294.1 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.009633, allocations: 0.5888 MB / 294.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.009699, allocations: 115.3 kB / 294.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.00973, allocations: 12.41 kB / 294.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.009783, allocations: 63.31 kB / 294.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009783, allocations: 0 / 294.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003566/0.01335, allocations: 1.552 MB / 296.4 MB, free: 13.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6996685843914747]