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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001131, allocations: 114.4 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009624/0.0009625, allocations: 187.8 kB / 18.71 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1882/0.1882, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3176, allocations: 60.82 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002726/0.3204, allocations: 2.042 MB / 0.5209 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.322, allocations: 1.162 MB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3221, allocations: 2.094 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.3223, allocations: 49.31 kB / 0.5221 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.3227, allocations: 161.7 kB / 0.5222 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3238, allocations: 0.586 MB / 0.5228 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3242, allocations: 310.4 kB / 0.5231 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.3244, allocations: 71.05 kB / 0.5232 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3245, allocations: 141 kB / 0.5233 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.3248, allocations: 194.7 kB / 0.5235 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.3248, allocations: 12.62 kB / 0.5235 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3249, allocations: 62.25 kB / 0.5236 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3251, allocations: 147.8 kB / 0.5237 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.3252, allocations: 167.4 kB / 0.5239 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.3256, allocations: 398 kB / 0.5243 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3256, allocations: 4.656 kB / 0.5243 GB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3256, allocations: 0 / 0.5243 GB, free: 364 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3256, allocations: 0 / 0.5243 GB, free: 364 kB / 382.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.0008845/0.3265, allocations: 0.7621 MB / 0.525 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3266, allocations: 9.375 kB / 0.525 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.3267, allocations: 53.64 kB / 0.5251 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.3272, allocations: 457.6 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3272, allocations: 13.05 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3272, allocations: 10.94 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.3276, allocations: 163 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3276, allocations: 0.5156 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.3276, allocations: 5.594 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3276, allocations: 3.031 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.3279, allocations: 119.6 kB / 0.5258 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.3289, allocations: 0.7005 MB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3292, allocations: 140.3 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.3293, allocations: 65.42 kB / 0.5267 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3294, allocations: 2.75 kB / 0.5267 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3294, allocations: 35.94 kB / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3294, allocations: 0 / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001873/0.3313, allocations: 0.7388 MB / 0.5274 GB, free: 14.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3313, allocations: 79.05 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.3322, allocations: 0.8528 MB / 0.5283 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3322, allocations: 30.52 kB / 0.5284 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.3324, allocations: 251.2 kB / 0.5286 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.3325, allocations: 63.14 kB / 0.5287 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.3325, allocations: 44.19 kB / 0.5287 GB, free: 13.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3327, allocations: 373.1 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.333, allocations: 110.1 kB / 0.5292 GB, free: 12.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3332, allocations: 130.6 kB / 0.5293 GB, free: 12.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.3337, allocations: 254.2 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3338, allocations: 3.938 kB / 0.5296 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006367/0.3344, allocations: 333.2 kB / 0.5299 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3344, allocations: 5.344 kB / 0.5299 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3344, allocations: 9.438 kB / 0.5299 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3345, allocations: 1.438 kB / 0.5299 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.3347, allocations: 58.2 kB / 0.5299 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3347, allocations: 1.531 kB / 0.5299 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3349, allocations: 27.66 kB / 0.53 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.335, allocations: 4.188 kB / 0.53 GB, free: 12.51 MB / 398.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 (20): * Single equations (assignments): 20 * 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.0002129/0.3352, allocations: 217.4 kB / 0.5302 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3353, allocations: 61.05 kB / 0.5302 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007757/0.3361, allocations: 390 kB / 0.5306 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.3361, allocations: 3.188 kB / 0.5306 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3361, allocations: 3.984 kB / 0.5306 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3361, allocations: 0 / 0.5306 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.3375, allocations: 0.9423 MB / 0.5315 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3375, allocations: 4.844 kB / 0.5315 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.3377, allocations: 49.55 kB / 0.5316 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3377, allocations: 2.156 kB / 0.5316 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3378, allocations: 6.188 kB / 0.5316 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3378, allocations: 5.031 kB / 0.5316 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3378, allocations: 1.156 kB / 0.5316 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.3385, allocations: 0.5041 MB / 0.5321 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3386, allocations: 139.3 kB / 0.5322 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.3387, allocations: 11.94 kB / 0.5322 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.3389, allocations: 22.64 kB / 0.5323 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.339, allocations: 22.75 kB / 0.5323 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.339, allocations: 10.64 kB / 0.5323 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006676/0.3397, allocations: 0.62 MB / 0.5329 GB, free: 10.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3397, allocations: 384 / 0.5329 GB, free: 10.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.3401, allocations: 60.92 kB / 0.533 GB, free: 10.55 MB / 398.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 (20): * Single equations (assignments): 20 * 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.0008817/0.341, allocations: 406.4 kB / 0.5333 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.3416, allocations: 254.9 kB / 0.5336 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3416, allocations: 0 / 0.5336 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.3419, allocations: 152.2 kB / 0.5337 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.3426, allocations: 79.17 kB / 0.5338 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.344, allocations: 0.9603 MB / 0.5347 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.3445, allocations: 0.8844 MB / 0.5356 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.3448, allocations: 104.3 kB / 0.5357 GB, free: 8.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3449, allocations: 36.77 kB / 0.5357 GB, free: 8.746 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3449, allocations: 0 / 0.5357 GB, free: 8.746 MB / 398.1 MB Notification: Performance of Templates: time 0.009353/0.3543, allocations: 4.532 MB / 0.5402 GB, free: 6.043 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches