Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.239/1.239, allocations: 223.2 MB / 241 MB, free: 10.11 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.0007886/0.0007888, allocations: 100.7 kB / 292.2 MB, free: 10.66 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.3402/0.3402, allocations: 44.2 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002723, allocations: 8 kB / 459.9 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3303, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.453, allocations: 89.98 MB / 0.5974 GB, free: 5.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4533, allocations: 83.92 kB / 0.5975 GB, free: 5.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.4774, allocations: 9.512 MB / 0.6068 GB, free: 11.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4775, allocations: 0 / 0.6068 GB, free: 11.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.4775, allocations: 12 kB / 0.6068 GB, free: 11.52 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.00138/0.4789, allocations: 0.7775 MB / 0.6076 GB, free: 10.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.479, allocations: 8.031 kB / 0.6076 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.4791, allocations: 59.25 kB / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/0.48, allocations: 490.8 kB / 0.6081 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.48, allocations: 8 kB / 0.6081 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.4801, allocations: 15.91 kB / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.4805, allocations: 175.1 kB / 0.6083 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4805, allocations: 0 / 0.6083 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4805, allocations: 0 / 0.6083 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4805, allocations: 4 kB / 0.6083 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.4809, allocations: 139.8 kB / 0.6084 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.4821, allocations: 0.758 MB / 0.6092 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.4825, allocations: 145.2 kB / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.4825, allocations: 11.94 kB / 0.6093 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.4826, allocations: 30.56 kB / 0.6093 GB, free: 8.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.4826, allocations: 0 / 0.6093 GB, free: 8.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002061/0.4846, allocations: 0.8145 MB / 0.6101 GB, free: 7.906 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4847, allocations: 81.11 kB / 0.6102 GB, free: 7.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/0.4856, allocations: 0.7999 MB / 0.611 GB, free: 7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.4857, allocations: 33.7 kB / 0.611 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.4859, allocations: 260.3 kB / 0.6113 GB, free: 6.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.4859, allocations: 67.08 kB / 0.6113 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.486, allocations: 4 kB / 0.6114 GB, free: 6.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4861, allocations: 374.7 kB / 0.6117 GB, free: 6.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.4864, allocations: 127.9 kB / 0.6118 GB, free: 6.133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.4867, allocations: 147 kB / 0.612 GB, free: 5.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.487, allocations: 140 kB / 0.6121 GB, free: 5.848 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.487, allocations: 3.938 kB / 0.6121 GB, free: 5.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006984/0.4877, allocations: 364.7 kB / 0.6125 GB, free: 5.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4878, allocations: 7.984 kB / 0.6125 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4878, allocations: 224 / 0.6125 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4878, allocations: 8 kB / 0.6125 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.4881, allocations: 67.83 kB / 0.6125 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4881, allocations: 0 / 0.6125 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4883, allocations: 35.97 kB / 0.6126 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4883, allocations: 11.95 kB / 0.6126 GB, free: 5.352 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.0002182/0.4886, allocations: 218.2 kB / 0.6128 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4887, allocations: 55.25 kB / 0.6128 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008261/0.4895, allocations: 430.2 kB / 0.6133 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.4895, allocations: 4 kB / 0.6133 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4895, allocations: 3.938 kB / 0.6133 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4895, allocations: 0 / 0.6133 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.4912, allocations: 1.06 MB / 0.6143 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4912, allocations: 0 / 0.6143 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.4915, allocations: 59.95 kB / 0.6144 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.4915, allocations: 4 kB / 0.6144 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.4915, allocations: 11.92 kB / 0.6144 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.4916, allocations: 7.953 kB / 0.6144 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4916, allocations: 0 / 0.6144 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.4924, allocations: 0.5488 MB / 0.6149 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.4927, allocations: 176.4 kB / 0.6151 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.4927, allocations: 8 kB / 0.6151 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.493, allocations: 31.97 kB / 0.6151 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.4931, allocations: 23.92 kB / 0.6151 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4931, allocations: 11.92 kB / 0.6152 GB, free: 2.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007818/0.4939, allocations: 0.6357 MB / 0.6158 GB, free: 1.973 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4939, allocations: 0 / 0.6158 GB, free: 1.973 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000405/0.4943, allocations: 87.94 kB / 0.6159 GB, free: 1.887 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.001074/0.4954, allocations: 415.9 kB / 0.6163 GB, free: 1.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.4961, allocations: 295.7 kB / 0.6165 GB, free: 1.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4961, allocations: 4 kB / 0.6165 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4964, allocations: 155.8 kB / 0.6167 GB, free: 1.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.4969, allocations: 72.03 kB / 0.6168 GB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4985, allocations: 1.086 MB / 0.6178 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.499, allocations: 0.8924 MB / 0.6187 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000257/0.4993, allocations: 119.1 kB / 0.6188 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.4994, allocations: 43.42 kB / 0.6188 GB, free: 14.92 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4994, allocations: 0 / 0.6188 GB, free: 14.92 MB / 442.7 MB Notification: Performance of Templates: time 0.008917/0.5083, allocations: 4.696 MB / 0.6234 GB, free: 10.25 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches