Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001686, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.3 MB / 213.7 MB, free: 1.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008902/0.0008898, allocations: 94.14 kB / 261.7 MB, free: 1.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.206/0.206, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.527e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 58.87 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.545, allocations: 87.21 MB / 0.5511 GB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.5453, allocations: 74.59 kB / 0.5512 GB, free: 7.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01871/0.564, allocations: 8.742 MB / 0.5597 GB, free: 0.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.564, allocations: 0 / 0.5597 GB, free: 0.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.5641, allocations: 8 kB / 0.5597 GB, free: 0.6992 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005992/0.5647, allocations: 0.6425 MB / 0.5604 GB, free: 44 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5647, allocations: 16.03 kB / 0.5604 GB, free: 28 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5649, allocations: 55.42 kB / 0.5604 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.5655, allocations: 469 kB / 0.5609 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5655, allocations: 0 / 0.5609 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5656, allocations: 8 kB / 0.5609 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001418/0.5657, allocations: 62.98 kB / 0.5609 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5659, allocations: 112 kB / 0.561 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5659, allocations: 3.125 kB / 0.561 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.566, allocations: 7.719 kB / 0.5611 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.566, allocations: 8 kB / 0.5611 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.5669, allocations: 0.6974 MB / 0.5617 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.5671, allocations: 96 kB / 0.5618 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.728e-05/0.5672, allocations: 41.72 kB / 0.5619 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.5672, allocations: 7 kB / 0.5619 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5673, allocations: 38.56 kB / 0.5619 GB, free: 14.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.5673, allocations: 0 / 0.5619 GB, free: 14.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001291/0.5686, allocations: 0.5098 MB / 0.5624 GB, free: 14.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.5686, allocations: 89.05 kB / 0.5625 GB, free: 13.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.5696, allocations: 0.7532 MB / 0.5632 GB, free: 13.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.5696, allocations: 25.7 kB / 0.5633 GB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.5698, allocations: 254.7 kB / 0.5635 GB, free: 13.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.5698, allocations: 64.02 kB / 0.5636 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.5698, allocations: 0 / 0.5636 GB, free: 13.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.57, allocations: 372.7 kB / 0.5639 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.5701, allocations: 51.19 kB / 0.564 GB, free: 12.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.5702, allocations: 76.33 kB / 0.564 GB, free: 12.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.5704, allocations: 59.53 kB / 0.5641 GB, free: 12.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5704, allocations: 0 / 0.5641 GB, free: 12.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003312/0.5707, allocations: 218.7 kB / 0.5643 GB, free: 12.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5707, allocations: 8 kB / 0.5643 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5707, allocations: 0 / 0.5643 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5708, allocations: 3.953 kB / 0.5643 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.5711, allocations: 71.88 kB / 0.5644 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.5711, allocations: 0 / 0.5644 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.5713, allocations: 23.98 kB / 0.5644 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.5713, allocations: 14.86 kB / 0.5644 GB, free: 12.38 MB / 378.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 () * 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 9.295e-05/0.5714, allocations: 111.8 kB / 0.5645 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5715, allocations: 55.25 kB / 0.5646 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.572, allocations: 267.7 kB / 0.5648 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.572, allocations: 0 / 0.5648 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.572, allocations: 8.172 kB / 0.5648 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.572, allocations: 3.984 kB / 0.5648 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.5731, allocations: 0.853 MB / 0.5657 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5731, allocations: 96 / 0.5657 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.5734, allocations: 63.89 kB / 0.5657 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5734, allocations: 7.953 kB / 0.5658 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.5734, allocations: 10.86 kB / 0.5658 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5735, allocations: 4 kB / 0.5658 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5735, allocations: 0 / 0.5658 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.5739, allocations: 411.1 kB / 0.5662 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.5741, allocations: 177.3 kB / 0.5663 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.5742, allocations: 3.953 kB / 0.5663 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.5745, allocations: 31.97 kB / 0.5664 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.5745, allocations: 18.84 kB / 0.5664 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.5746, allocations: 11.98 kB / 0.5664 GB, free: 10.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006527/0.5752, allocations: 0.5846 MB / 0.567 GB, free: 10.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5752, allocations: 0 / 0.567 GB, free: 10.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.5756, allocations: 75.98 kB / 0.567 GB, free: 10.03 MB / 378.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 () * 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.0007749/0.5764, allocations: 343 kB / 0.5674 GB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.5767, allocations: 146.5 kB / 0.5675 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5767, allocations: 0 / 0.5675 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.5768, allocations: 85.11 kB / 0.5676 GB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.5773, allocations: 72.38 kB / 0.5676 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5785, allocations: 0.7249 MB / 0.5684 GB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.579, allocations: 0.8743 MB / 0.5692 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.5792, allocations: 95.16 kB / 0.5693 GB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5794, allocations: 50.84 kB / 0.5694 GB, free: 7.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5794, allocations: 0 / 0.5694 GB, free: 7.82 MB / 378.7 MB Notification: Performance of Templates: time 0.008529/0.5879, allocations: 4.041 MB / 0.5733 GB, free: 3.801 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches