Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, 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.001577/0.001577, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.531/1.531, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2305/0.2305, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4202, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003242/0.4235, allocations: 1.957 MB / 0.5208 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.425, allocations: 1.032 MB / 0.5218 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.4251, allocations: 2 kB / 0.5218 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.4254, allocations: 43.42 kB / 0.5219 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.4258, allocations: 148.7 kB / 0.522 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.4266, allocations: 412.8 kB / 0.5224 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.4269, allocations: 260.4 kB / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.427, allocations: 58.52 kB / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.4272, allocations: 127.5 kB / 0.5228 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.4274, allocations: 169.9 kB / 0.523 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.4275, allocations: 12.41 kB / 0.523 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.4276, allocations: 60.06 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.4277, allocations: 135.3 kB / 0.5232 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.4279, allocations: 158.6 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.4283, allocations: 359 kB / 0.5237 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4283, allocations: 7.938 kB / 0.5237 GB, free: 0.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4283, allocations: 2.031 kB / 0.5237 GB, free: 0.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4283, allocations: 0 / 0.5237 GB, free: 0.668 MB / 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.0007764/0.4291, allocations: 0.7307 MB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4291, allocations: 10.53 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.4292, allocations: 54.84 kB / 0.5245 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.4298, allocations: 427.2 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4298, allocations: 8.094 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.4299, allocations: 19.42 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.4302, allocations: 129.7 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4302, allocations: 0.8438 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4302, allocations: 5.75 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4302, allocations: 3.375 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4305, allocations: 76.2 kB / 0.5251 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.4314, allocations: 0.6583 MB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.4316, allocations: 113.5 kB / 0.5259 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.4318, allocations: 46.69 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4318, allocations: 2.656 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4318, allocations: 39.69 kB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.4318, allocations: 0 / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001374/0.4332, allocations: 0.4971 MB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4333, allocations: 78.48 kB / 0.5265 GB, free: 14.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.4342, allocations: 0.8488 MB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4343, allocations: 30.95 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.4345, allocations: 245.9 kB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.4345, allocations: 57.31 kB / 0.5277 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.4346, allocations: 33.45 kB / 0.5277 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4348, allocations: 367.4 kB / 0.528 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4349, allocations: 51 kB / 0.5281 GB, free: 13.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4351, allocations: 71.64 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.4354, allocations: 142.9 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4354, allocations: 0 / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004442/0.4359, allocations: 215.9 kB / 0.5285 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4359, allocations: 5.906 kB / 0.5285 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4359, allocations: 7.938 kB / 0.5285 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4359, allocations: 2 kB / 0.5285 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.4362, allocations: 35.31 kB / 0.5286 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4362, allocations: 1.438 kB / 0.5286 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.4363, allocations: 15.45 kB / 0.5286 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.4363, allocations: 3.812 kB / 0.5286 GB, free: 13.32 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 (16): * Single equations (assignments): 16 * 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.0002039/0.4365, allocations: 217 kB / 0.5288 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.4366, allocations: 53.31 kB / 0.5288 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005936/0.4372, allocations: 270.2 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4373, allocations: 2.5 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4373, allocations: 1.156 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4373, allocations: 3.938 kB / 0.5291 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4385, allocations: 0.7545 MB / 0.5298 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4386, allocations: 1.094 kB / 0.5298 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.4387, allocations: 34.78 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4387, allocations: 1.281 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4388, allocations: 6.422 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4388, allocations: 9.031 kB / 0.5299 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4388, allocations: 5.156 kB / 0.5299 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.4393, allocations: 388.3 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4395, allocations: 132.2 kB / 0.5304 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.4395, allocations: 5.344 kB / 0.5304 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4397, allocations: 17.39 kB / 0.5304 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.4398, allocations: 14.92 kB / 0.5304 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4398, allocations: 5.344 kB / 0.5304 GB, free: 11.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007051/0.4405, allocations: 0.6215 MB / 0.531 GB, free: 11.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4405, allocations: 0 / 0.531 GB, free: 11.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.4409, allocations: 46.88 kB / 0.5311 GB, free: 11.61 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 (16): * Single equations (assignments): 16 * 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.0009987/0.4419, allocations: 417.5 kB / 0.5315 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.4424, allocations: 140 kB / 0.5316 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4424, allocations: 0 / 0.5316 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.4426, allocations: 79.39 kB / 0.5317 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.4432, allocations: 84.88 kB / 0.5318 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4445, allocations: 0.8735 MB / 0.5326 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.445, allocations: 0.848 MB / 0.5334 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.4452, allocations: 72.7 kB / 0.5335 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4453, allocations: 34.52 kB / 0.5336 GB, free: 9.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4453, allocations: 0 / 0.5336 GB, free: 9.965 MB / 398.1 MB Notification: Performance of Templates: time 0.008408/0.4537, allocations: 3.962 MB / 0.5374 GB, free: 8.039 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches