Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.0008238/0.0008238, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009924/0.0009924, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9286/0.9286, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1419/0.1419, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.5e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.006326/0.006351, allocations: 2 MB / 379.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.00841, allocations: 1.234 MB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.008674, allocations: 0 / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.009025, allocations: 47.52 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006804/0.009706, allocations: 219 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.01062, allocations: 423 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.01102, allocations: 303 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.01117, allocations: 48.83 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.01149, allocations: 171.5 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.01175, allocations: 171.6 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.01178, allocations: 12 kB / 381.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.01195, allocations: 67.91 kB / 382 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.01208, allocations: 139.5 kB / 382.1 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.01216, allocations: 87.58 kB / 382.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.01254, allocations: 302.7 kB / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01255, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01255, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01255, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007813/0.01333, allocations: 0.8095 MB / 383.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01337, allocations: 12.03 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.01363, allocations: 80.55 kB / 383.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.01401, allocations: 332.5 kB / 383.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.01402, allocations: 4.375 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.01405, allocations: 12.36 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.01423, allocations: 121.3 kB / 383.8 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.01424, allocations: 3.938 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.01425, allocations: 7.938 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01426, allocations: 4 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.01432, allocations: 39.62 kB / 383.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.0149, allocations: 0.5535 MB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.01502, allocations: 94.14 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.01505, allocations: 27.48 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.01508, allocations: 4 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.0151, allocations: 37.39 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.0151, allocations: 0 / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.000779/0.01588, allocations: 260.7 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.01591, allocations: 85.11 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.01642, allocations: 0.6195 MB / 385.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.01643, allocations: 29.7 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.0166, allocations: 326.9 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.01664, allocations: 59.47 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.01669, allocations: 39.36 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.01681, allocations: 0.5624 MB / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.01685, allocations: 11.98 kB / 386.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.01691, allocations: 35.58 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.01701, allocations: 71.42 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.01701, allocations: 7.938 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002112/0.01722, allocations: 149.3 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01724, allocations: 7.938 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01724, allocations: 4 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01725, allocations: 0 / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.0174, allocations: 36.66 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.0174, allocations: 4 kB / 386.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.01748, allocations: 8 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.0175, allocations: 4 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 8.612e-05/0.01758, allocations: 164.6 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.01767, allocations: 63.56 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.01795, allocations: 186.3 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01795, allocations: 4 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.01795, allocations: 0 / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01795, allocations: 0 / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.01858, allocations: 0.6414 MB / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01858, allocations: 0 / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01869, allocations: 31.98 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01869, allocations: 0 / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01871, allocations: 7.984 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01871, allocations: 0 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01871, allocations: 0 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.01896, allocations: 426.6 kB / 388.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.01902, allocations: 51.61 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.01906, allocations: 4 kB / 388.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01919, allocations: 4 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.01925, allocations: 19.97 kB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01926, allocations: 0 / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.01956, allocations: 410.6 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01956, allocations: 0 / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003617/0.01992, allocations: 59.92 kB / 388.9 MB, free: 13.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001116/0.02104, allocations: 377.1 kB / 389.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.0212, allocations: 75.22 kB / 389.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0212, allocations: 0 / 389.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/0.02127, allocations: 43.59 kB / 389.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.02181, allocations: 89.23 kB / 389.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.02299, allocations: 0.7585 MB / 390.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.02308, allocations: 136.5 kB / 390.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.02323, allocations: 54.92 kB / 390.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.02339, allocations: 130.2 kB / 390.6 MB, free: 12 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.02339, allocations: 0 / 390.6 MB, free: 12 MB / 314.7 MB Notification: Performance of Templates: time 0.008683/0.03207, allocations: 4.525 MB / 395.1 MB, free: 7.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.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.2465436747297645]