Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001305/0.001305, allocations: 119.6 kB / 20.44 MB, free: 1.297 MB / 14.72 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.001537/0.001537, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2591/0.2591, allocations: 46.93 MB / 360.8 MB, free: 4.363 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.89 kB / 0.4967 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4439, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003971/0.4478, allocations: 2.052 MB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.4503, allocations: 1.275 MB / 0.5644 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.4504, allocations: 4 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.4507, allocations: 39.59 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005607/0.4512, allocations: 215.1 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.4523, allocations: 434 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.4527, allocations: 303.1 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.4529, allocations: 52.7 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.4532, allocations: 139.4 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.4535, allocations: 207.2 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.4536, allocations: 12 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.4537, allocations: 59.98 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.4539, allocations: 147.5 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.454, allocations: 162.6 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.4545, allocations: 384.6 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4545, allocations: 3.938 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4545, allocations: 0 / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4545, allocations: 0 / 0.5664 GB, free: 14.95 MB / 414.1 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.001224/0.4558, allocations: 0.7136 MB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.4558, allocations: 8.031 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.4561, allocations: 72.55 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/0.457, allocations: 406.4 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.457, allocations: 4.375 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4571, allocations: 12.12 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.4574, allocations: 131.3 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.4574, allocations: 3.938 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4575, allocations: 4 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4575, allocations: 4 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.4577, allocations: 75.95 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.4588, allocations: 0.6323 MB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.459, allocations: 105.2 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4591, allocations: 49.81 kB / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.4591, allocations: 0 / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.4592, allocations: 50.38 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.905e-06/0.4592, allocations: 3.984 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001516/0.4607, allocations: 0.5191 MB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.4608, allocations: 85.05 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.4619, allocations: 0.8945 MB / 0.5701 GB, free: 11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.4619, allocations: 29.7 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.4622, allocations: 256.3 kB / 0.5704 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.4622, allocations: 47.58 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.4623, allocations: 41.7 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.4625, allocations: 374.7 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.4627, allocations: 51.97 kB / 0.5709 GB, free: 10.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4629, allocations: 77.61 kB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.4632, allocations: 137.9 kB / 0.5711 GB, free: 9.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4632, allocations: 0 / 0.5711 GB, free: 9.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004835/0.4637, allocations: 229.1 kB / 0.5713 GB, free: 9.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4637, allocations: 10.66 kB / 0.5713 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4637, allocations: 0 / 0.5713 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4637, allocations: 4 kB / 0.5713 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.4639, allocations: 43.91 kB / 0.5714 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4639, allocations: 4 kB / 0.5714 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4641, allocations: 7.984 kB / 0.5714 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4641, allocations: 4 kB / 0.5714 GB, free: 9.668 MB / 414.1 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 0.0002388/0.4643, allocations: 209.7 kB / 0.5716 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.4644, allocations: 59.58 kB / 0.5716 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.465, allocations: 271.2 kB / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.465, allocations: 0 / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.465, allocations: 0 / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.465, allocations: 0 / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.4662, allocations: 0.7503 MB / 0.5726 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4662, allocations: 4 kB / 0.5726 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.4664, allocations: 31.97 kB / 0.5727 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4664, allocations: 4 kB / 0.5727 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4664, allocations: 3.984 kB / 0.5727 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.4664, allocations: 7.938 kB / 0.5727 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4664, allocations: 0 / 0.5727 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.467, allocations: 409.1 kB / 0.5731 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4671, allocations: 59.66 kB / 0.5731 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.4672, allocations: 4 kB / 0.5731 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4673, allocations: 15.92 kB / 0.5731 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.4674, allocations: 15.98 kB / 0.5732 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4674, allocations: 7.984 kB / 0.5732 GB, free: 7.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008135/0.4683, allocations: 0.6513 MB / 0.5738 GB, free: 7.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4683, allocations: 7.875 kB / 0.5738 GB, free: 7.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.4686, allocations: 59.95 kB / 0.5739 GB, free: 7.039 MB / 414.1 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.001633/0.4703, allocations: 402.2 kB / 0.5742 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.4707, allocations: 139.9 kB / 0.5744 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4707, allocations: 0 / 0.5744 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.4709, allocations: 75.89 kB / 0.5745 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.4716, allocations: 86.22 kB / 0.5745 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4732, allocations: 0.9187 MB / 0.5754 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.4738, allocations: 0.8575 MB / 0.5763 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.474, allocations: 74.92 kB / 0.5763 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4741, allocations: 39.36 kB / 0.5764 GB, free: 4.562 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4741, allocations: 0 / 0.5764 GB, free: 4.562 MB / 414.1 MB Notification: Performance of Templates: time 0.009917/0.484, allocations: 4.135 MB / 0.5804 GB, free: 456 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.652489638188854]