Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0008036/0.0008036, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.001987, 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.0006519/0.0006519, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009566/0.001608, 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.9129/0.9129, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1685/1.081, allocations: 52.49 MB / 238.5 MB, free: 7.629 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.1498/0.1498, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02253/0.1723, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.049e-05, allocations: 6.312 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002404/0.002435, allocations: 1.711 MB / 287.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003719, allocations: 1.196 MB / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.003769, allocations: 0 / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.003893, allocations: 19.86 kB / 288.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.00407, allocations: 47.66 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.00436, allocations: 127.5 kB / 289 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.004485, allocations: 59.84 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.004583, allocations: 20.17 kB / 289.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004686, allocations: 47.84 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.004777, allocations: 23.95 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004794, allocations: 7.938 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.004924, allocations: 55.8 kB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.004996, allocations: 8 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.005025, allocations: 15.94 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005252, allocations: 79.73 kB / 289.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.005268, allocations: 3.938 kB / 289.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005269, allocations: 0 / 289.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.005283, allocations: 4 kB / 289.3 MB, free: 4.949 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.0004972/0.00578, allocations: 292.2 kB / 289.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.005815, allocations: 12.03 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.005856, allocations: 4.938 kB / 289.6 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.006014, allocations: 125.7 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.006022, allocations: 4.375 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.006042, allocations: 8.328 kB / 289.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.006177, allocations: 106.3 kB / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006188, allocations: 8.188 kB / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006197, allocations: 3.938 kB / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006204, allocations: 3.984 kB / 289.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.535e-05/0.006229, allocations: 8 kB / 289.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.006429, allocations: 160.3 kB / 290 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.006489, allocations: 30.5 kB / 290 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.006504, allocations: 8.859 kB / 290.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.006522, allocations: 4 kB / 290.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.006549, allocations: 38.5 kB / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00655, allocations: 0 / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002982/0.006848, allocations: 105.6 kB / 290.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.00688, allocations: 51.48 kB / 290.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.006967, allocations: 134.3 kB / 290.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006979, allocations: 29.7 kB / 290.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.00701, allocations: 88.12 kB / 290.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.007034, allocations: 23.73 kB / 290.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.007064, allocations: 29.7 kB / 290.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.007138, allocations: 318.8 kB / 290.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.007152, allocations: 8 kB / 290.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.007181, allocations: 43.48 kB / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.007213, allocations: 32.77 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.007214, allocations: 0 / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.361e-05/0.007278, allocations: 61.61 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.007289, allocations: 4 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007294, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.007306, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.007376, allocations: 19.98 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007379, allocations: 4.031 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.007401, allocations: 7.938 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.007405, allocations: 0 / 291 MB, free: 3.027 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 5.837e-05/0.007463, allocations: 120.6 kB / 291.2 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.007481, allocations: 11.92 kB / 291.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.007579, allocations: 58.11 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.007581, allocations: 288 / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.007583, allocations: 4 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007587, allocations: 0 / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.007812, allocations: 230.7 kB / 291.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.007815, allocations: 3.984 kB / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.007863, allocations: 15.98 kB / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.007872, allocations: 7.953 kB / 291.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.007873, allocations: 0 / 291.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.007878, allocations: 0 / 291.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.007881, allocations: 3.984 kB / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007882, allocations: 0 / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.496e-05/0.007977, allocations: 163.8 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.007989, allocations: 4 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.008024, allocations: 7.984 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.008055, allocations: 11.98 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.008059, allocations: 0 / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.707e-05/0.008086, allocations: 24.84 kB / 291.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008086, allocations: 0 / 291.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.008233, allocations: 23.94 kB / 291.7 MB, free: 2.293 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.001304/0.009537, allocations: 0.6046 MB / 292.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.009642, allocations: 40.83 kB / 292.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.009649, allocations: 0 / 292.4 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.009683, allocations: 28.78 kB / 292.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.009881, allocations: 79.33 kB / 292.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.01031, allocations: 194.3 kB / 292.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.01034, allocations: 63.34 kB / 292.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.01039, allocations: 16.39 kB / 292.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.01045, allocations: 67.38 kB / 292.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01045, allocations: 0 / 292.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.003295/0.01374, allocations: 1.67 MB / 294.5 MB, free: 15.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.8383436547592282]