Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.00129/0.00129, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.007348/0.007348, allocations: 164 kB / 24.99 MB, free: 8.363 MB / 18.57 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.9634/0.9634, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.2467/0.2467, allocations: 32.81 MB / 294.6 MB, free: 1.301 MB / 266.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.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.048e-05, allocations: 6.25 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002327/0.002347, allocations: 2.043 MB / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.003617, allocations: 0.9965 MB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.003726, allocations: 4 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.004168, allocations: 259 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.004544, allocations: 262.9 kB / 379.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.005152, allocations: 478.8 kB / 380 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.005455, allocations: 346.9 kB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.005618, allocations: 44.91 kB / 380.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.006035, allocations: 175.5 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.00621, allocations: 199.5 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.006232, allocations: 12 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.006328, allocations: 79.78 kB / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.006422, allocations: 95.61 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.00648, allocations: 55.72 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.006719, allocations: 243 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.006722, allocations: 0 / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006722, allocations: 0 / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.006727, allocations: 0 / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005253/0.007252, allocations: 0.6893 MB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.007287, allocations: 15.97 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.007351, allocations: 56.61 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.007568, allocations: 266.7 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.007581, allocations: 8.375 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.007606, allocations: 16.33 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.007752, allocations: 103.6 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007765, allocations: 4.125 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.007777, allocations: 8.125 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.007787, allocations: 7.984 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.007853, allocations: 40.56 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.008301, allocations: 471.3 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.42e-05/0.008395, allocations: 74.98 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.008427, allocations: 23.67 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.008449, allocations: 4 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.00847, allocations: 45.38 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 7.71e-07/0.008471, allocations: 0 / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005137/0.008985, allocations: 320.7 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.009013, allocations: 55.34 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.009323, allocations: 482.7 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.009336, allocations: 33.69 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.00945, allocations: 259.2 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.009488, allocations: 59.48 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.009529, allocations: 39.36 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.009665, allocations: 0.5313 MB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.009704, allocations: 35.89 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.009742, allocations: 25.86 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.00983, allocations: 78.02 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.009831, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001545/0.009985, allocations: 161.3 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.009999, allocations: 15.88 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.01, allocations: 0 / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01001, allocations: 0 / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.01011, allocations: 31.97 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01011, allocations: 4 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.01014, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.01015, allocations: 16 kB / 385.2 MB, free: 11.58 MB / 362.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 (17): * Single equations (assignments): 17 * 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 7.438e-05/0.01022, allocations: 164.5 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.01026, allocations: 51.72 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.01048, allocations: 177.6 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01048, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.01048, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01049, allocations: 7.922 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.01093, allocations: 0.5578 MB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01093, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.01099, allocations: 39.92 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01099, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.011, allocations: 8 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.011, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01101, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01119, allocations: 315.3 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.01121, allocations: 31.77 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.01123, allocations: 4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.01127, allocations: 3.984 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.01131, allocations: 15.98 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01131, allocations: 8 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.01151, allocations: 327 kB / 386.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01151, allocations: 0 / 386.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.01171, allocations: 51.88 kB / 386.9 MB, free: 9.766 MB / 362.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 (17): * Single equations (assignments): 17 * 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.001386/0.01309, allocations: 0.659 MB / 387.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01325, allocations: 95.48 kB / 387.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01325, allocations: 7.938 kB / 387.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.0133, allocations: 59.59 kB / 387.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.01392, allocations: 96.27 kB / 387.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.01454, allocations: 0.5729 MB / 388.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.01461, allocations: 112.3 kB / 388.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.01468, allocations: 41.91 kB / 388.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.01473, allocations: 32.48 kB / 388.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01473, allocations: 4 kB / 388.6 MB, free: 8.328 MB / 362.7 MB Notification: Performance of Templates: time 0.005009/0.01974, allocations: 3.361 MB / 391.9 MB, free: 5.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.2325370439793915]