Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008537/0.0008536, allocations: 183.2 kB / 18.09 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.3 MB / 242.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007078/0.0007078, allocations: 100.6 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2772/0.2772, allocations: 44.14 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003613, allocations: 19.98 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 61.88 MB / 0.5107 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09818/0.3873, allocations: 89.54 MB / 0.5982 GB, free: 5.543 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.3876, allocations: 79.95 kB / 0.5982 GB, free: 5.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0226/0.4102, allocations: 9.309 MB / 0.6073 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4102, allocations: 0 / 0.6073 GB, free: 12.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.4103, allocations: 15.98 kB / 0.6074 GB, free: 12.11 MB / 426.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.0009409/0.4112, allocations: 0.7659 MB / 0.6081 GB, free: 11.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4113, allocations: 8.031 kB / 0.6081 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.4114, allocations: 60.28 kB / 0.6082 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.412, allocations: 499.6 kB / 0.6086 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.412, allocations: 8.375 kB / 0.6087 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.4121, allocations: 8.375 kB / 0.6087 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.4124, allocations: 151.7 kB / 0.6088 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4124, allocations: 4.188 kB / 0.6088 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4124, allocations: 11.94 kB / 0.6088 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4124, allocations: 0 / 0.6088 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.4127, allocations: 119.9 kB / 0.6089 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009866/0.4137, allocations: 0.7423 MB / 0.6097 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.414, allocations: 125.2 kB / 0.6098 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4141, allocations: 77.73 kB / 0.6099 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.4142, allocations: 0 / 0.6099 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4142, allocations: 34.56 kB / 0.6099 GB, free: 9.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.4142, allocations: 4 kB / 0.6099 GB, free: 9.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001784/0.416, allocations: 0.7516 MB / 0.6106 GB, free: 8.562 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.416, allocations: 77.11 kB / 0.6107 GB, free: 8.469 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.417, allocations: 0.8583 MB / 0.6115 GB, free: 7.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.417, allocations: 29.7 kB / 0.6116 GB, free: 7.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4172, allocations: 252.4 kB / 0.6118 GB, free: 7.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.4172, allocations: 70.95 kB / 0.6119 GB, free: 7.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.4172, allocations: 8 kB / 0.6119 GB, free: 7.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4174, allocations: 370.8 kB / 0.6122 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.4176, allocations: 103.9 kB / 0.6123 GB, free: 6.766 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4179, allocations: 131.7 kB / 0.6125 GB, free: 6.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.4184, allocations: 245.7 kB / 0.6127 GB, free: 6.387 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4184, allocations: 0 / 0.6127 GB, free: 6.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006197/0.419, allocations: 340.7 kB / 0.613 GB, free: 6.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4191, allocations: 5.562 kB / 0.613 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4191, allocations: 4 kB / 0.613 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4191, allocations: 0 / 0.613 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.4194, allocations: 59.95 kB / 0.6131 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4194, allocations: 4 kB / 0.6131 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.4196, allocations: 31.97 kB / 0.6131 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.4196, allocations: 4 kB / 0.6131 GB, free: 5.941 MB / 426.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.4198, allocations: 217.7 kB / 0.6133 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4199, allocations: 63.19 kB / 0.6134 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.4206, allocations: 386.2 kB / 0.6138 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4206, allocations: 0 / 0.6138 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4207, allocations: 3.938 kB / 0.6138 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4207, allocations: 4 kB / 0.6138 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.422, allocations: 0.9974 MB / 0.6147 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4221, allocations: 0 / 0.6147 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.4223, allocations: 63.89 kB / 0.6148 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4223, allocations: 0 / 0.6148 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.4223, allocations: 15.98 kB / 0.6148 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4223, allocations: 0 / 0.6148 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4223, allocations: 0 / 0.6148 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.423, allocations: 0.5019 MB / 0.6153 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.4232, allocations: 184.2 kB / 0.6155 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.4233, allocations: 4.75 kB / 0.6155 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.4235, allocations: 35.97 kB / 0.6155 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.4236, allocations: 15.97 kB / 0.6155 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.4236, allocations: 19.92 kB / 0.6156 GB, free: 3.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006746/0.4243, allocations: 0.6198 MB / 0.6162 GB, free: 2.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4243, allocations: 0 / 0.6162 GB, free: 2.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.4247, allocations: 83.94 kB / 0.6162 GB, free: 2.641 MB / 426.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008075/0.4255, allocations: 415.2 kB / 0.6166 GB, free: 2.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.4261, allocations: 259.7 kB / 0.6169 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4261, allocations: 0 / 0.6169 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.4264, allocations: 147.8 kB / 0.617 GB, free: 1.988 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.4269, allocations: 71.09 kB / 0.6171 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4283, allocations: 1.027 MB / 0.6181 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.4287, allocations: 0.8696 MB / 0.6189 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.4289, allocations: 94.84 kB / 0.619 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.429, allocations: 47.41 kB / 0.6191 GB, free: 15.83 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.429, allocations: 0 / 0.6191 GB, free: 15.83 MB / 442.7 MB Notification: Performance of Templates: time 0.00776/0.4368, allocations: 4.606 MB / 0.6236 GB, free: 11.25 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches