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.001005/0.001005, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001056/0.001056, allocations: 183 kB / 18.72 MB, free: 4.332 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1984/0.1984, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 55.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3614, allocations: 60.83 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003127/0.3645, allocations: 2.049 MB / 0.5209 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3663, allocations: 1.154 MB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3664, allocations: 2.438 kB / 0.522 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.3667, allocations: 57.09 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.3671, allocations: 157.8 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3683, allocations: 0.5894 MB / 0.5228 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.3688, allocations: 310.8 kB / 0.5231 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.369, allocations: 70.91 kB / 0.5232 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3692, allocations: 136.8 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.3695, allocations: 195.3 kB / 0.5235 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.3695, allocations: 13.53 kB / 0.5235 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3697, allocations: 60.78 kB / 0.5236 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.3699, allocations: 150.8 kB / 0.5237 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.37, allocations: 162.6 kB / 0.5239 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3704, allocations: 403.1 kB / 0.5243 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3705, allocations: 5.312 kB / 0.5243 GB, free: 364 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3705, allocations: 0 / 0.5243 GB, free: 364 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.3705, 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.0009836/0.3715, allocations: 0.7791 MB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3715, allocations: 10 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.3716, allocations: 60.09 kB / 0.5251 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.3722, allocations: 463.1 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3722, allocations: 9.094 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.3723, allocations: 15.78 kB / 0.5256 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.3726, allocations: 158 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3726, allocations: 1.875 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3727, allocations: 4.797 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3727, allocations: 3.969 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.373, allocations: 117.5 kB / 0.5258 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.374, allocations: 0.6993 MB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.3743, allocations: 136.3 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3745, allocations: 65.44 kB / 0.5267 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.3745, allocations: 6.734 kB / 0.5267 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3746, allocations: 35.94 kB / 0.5267 GB, free: 14.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3746, allocations: 0 / 0.5267 GB, free: 14.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002173/0.3768, allocations: 0.7509 MB / 0.5275 GB, free: 14.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.3769, allocations: 83.88 kB / 0.5276 GB, free: 14.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.3782, allocations: 0.8527 MB / 0.5284 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3782, allocations: 31.36 kB / 0.5284 GB, free: 13.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3784, allocations: 254.9 kB / 0.5287 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.3785, allocations: 75.58 kB / 0.5287 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3787, allocations: 40.38 kB / 0.5288 GB, free: 13.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3789, allocations: 372.7 kB / 0.5291 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.3792, allocations: 106.1 kB / 0.5292 GB, free: 12.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3795, allocations: 137.5 kB / 0.5294 GB, free: 12.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.3802, allocations: 242.5 kB / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3802, allocations: 0 / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008336/0.381, allocations: 346.7 kB / 0.5299 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.381, allocations: 4.125 kB / 0.5299 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3811, allocations: 2.25 kB / 0.5299 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3811, allocations: 1.281 kB / 0.5299 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.3814, allocations: 65.91 kB / 0.53 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.3814, allocations: 1.25 kB / 0.53 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3816, allocations: 16.2 kB / 0.53 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3816, allocations: 13.55 kB / 0.53 GB, free: 12.46 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.0002372/0.3819, allocations: 213.2 kB / 0.5302 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.382, allocations: 59.97 kB / 0.5303 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000851/0.3828, allocations: 397.4 kB / 0.5307 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.3828, allocations: 2.312 kB / 0.5307 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3829, allocations: 1.094 kB / 0.5307 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3829, allocations: 1.156 kB / 0.5307 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.3843, allocations: 0.9346 MB / 0.5316 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3844, allocations: 1.094 kB / 0.5316 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.3846, allocations: 58.05 kB / 0.5316 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.3846, allocations: 1.219 kB / 0.5316 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3847, allocations: 10.77 kB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3847, allocations: 5.531 kB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3847, allocations: 3.938 kB / 0.5317 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.3855, allocations: 0.5102 MB / 0.5322 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3856, allocations: 141.5 kB / 0.5323 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.3857, allocations: 4 kB / 0.5323 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3859, allocations: 24.56 kB / 0.5323 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.386, allocations: 18.09 kB / 0.5323 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.386, allocations: 10.06 kB / 0.5323 GB, free: 10.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006936/0.3867, allocations: 0.6237 MB / 0.533 GB, free: 10.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3867, allocations: 4 kB / 0.533 GB, free: 10.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.3871, allocations: 61.28 kB / 0.533 GB, free: 10.49 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.0009584/0.3881, allocations: 400.1 kB / 0.5334 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.3889, allocations: 263.1 kB / 0.5337 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3889, allocations: 0 / 0.5337 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.3892, allocations: 140.3 kB / 0.5338 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.39, allocations: 86.47 kB / 0.5339 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3919, allocations: 0.9839 MB / 0.5348 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.3924, allocations: 0.8738 MB / 0.5357 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.3927, allocations: 100.3 kB / 0.5358 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3928, allocations: 44.12 kB / 0.5358 GB, free: 8.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.515e-06/0.3928, allocations: 0 / 0.5358 GB, free: 8.672 MB / 398.1 MB Notification: Performance of Templates: time 0.009661/0.4025, allocations: 4.429 MB / 0.5401 GB, free: 6.078 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