Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001128/0.001128, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2591/0.2591, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4143, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003677/0.4181, allocations: 2.036 MB / 0.5209 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.4199, allocations: 1.054 MB / 0.5219 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.4201, allocations: 6.406 kB / 0.5219 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.4203, allocations: 39.95 kB / 0.522 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.4209, allocations: 155.1 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.422, allocations: 431.2 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.4224, allocations: 278.6 kB / 0.5228 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.4227, allocations: 60.58 kB / 0.5229 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.4229, allocations: 137.7 kB / 0.523 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.4233, allocations: 193.9 kB / 0.5232 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.4233, allocations: 14.16 kB / 0.5232 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4235, allocations: 52.91 kB / 0.5232 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.4237, allocations: 141.6 kB / 0.5234 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.4238, allocations: 162.1 kB / 0.5235 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.4244, allocations: 383.8 kB / 0.5239 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4244, allocations: 5.812 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4244, allocations: 3.938 kB / 0.5239 GB, free: 0.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4244, allocations: 0 / 0.5239 GB, free: 0.543 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.001201/0.4256, allocations: 0.7534 MB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4257, allocations: 9.125 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4258, allocations: 53.44 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.4264, allocations: 447.6 kB / 0.5251 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4264, allocations: 7.938 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.4265, allocations: 19.75 kB / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.4269, allocations: 145.6 kB / 0.5253 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.4269, allocations: 2.141 kB / 0.5253 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4269, allocations: 4 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.427, allocations: 2.969 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.4273, allocations: 101.8 kB / 0.5254 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.4286, allocations: 0.6598 MB / 0.526 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.429, allocations: 124.7 kB / 0.5262 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.4292, allocations: 59.34 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.4293, allocations: 6.547 kB / 0.5262 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.4293, allocations: 32.59 kB / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.4293, allocations: 1.375 kB / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002168/0.4315, allocations: 0.6681 MB / 0.5269 GB, free: 14.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.4316, allocations: 83.66 kB / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4329, allocations: 0.8442 MB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.4329, allocations: 30.98 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.4331, allocations: 247.1 kB / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.4332, allocations: 67.47 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.4333, allocations: 38.95 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4335, allocations: 372.2 kB / 0.5285 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.4338, allocations: 94.61 kB / 0.5286 GB, free: 13.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.4341, allocations: 111.7 kB / 0.5287 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.4346, allocations: 204.1 kB / 0.5289 GB, free: 13.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4346, allocations: 1.094 kB / 0.5289 GB, free: 13.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007626/0.4354, allocations: 302.2 kB / 0.5292 GB, free: 12.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4354, allocations: 5.688 kB / 0.5292 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4355, allocations: 0 / 0.5292 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.4355, allocations: 6.391 kB / 0.5292 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.4358, allocations: 57.89 kB / 0.5293 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4358, allocations: 1.062 kB / 0.5293 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.4361, allocations: 24.58 kB / 0.5293 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4361, allocations: 12.41 kB / 0.5293 GB, free: 12.89 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.0003643/0.4365, allocations: 209.5 kB / 0.5295 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4366, allocations: 55.72 kB / 0.5296 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/0.4375, allocations: 343 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4375, allocations: 3.156 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4376, allocations: 3.984 kB / 0.5299 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4376, allocations: 5.172 kB / 0.5299 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.4393, allocations: 0.8703 MB / 0.5308 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4394, allocations: 1.25 kB / 0.5308 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.4397, allocations: 53.36 kB / 0.5308 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.4397, allocations: 6 kB / 0.5308 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4397, allocations: 10.17 kB / 0.5308 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.4397, allocations: 5.094 kB / 0.5308 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.4397, allocations: 1.031 kB / 0.5308 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4408, allocations: 478.3 kB / 0.5313 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.441, allocations: 132.2 kB / 0.5314 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.441, allocations: 2.781 kB / 0.5314 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.4413, allocations: 27.05 kB / 0.5314 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4414, allocations: 23.94 kB / 0.5315 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.4415, allocations: 9.766 kB / 0.5315 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.4426, allocations: 0.6205 MB / 0.5321 GB, free: 11.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4426, allocations: 0 / 0.5321 GB, free: 11.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.4431, allocations: 54.44 kB / 0.5321 GB, free: 11.02 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.001283/0.4444, allocations: 405.7 kB / 0.5325 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.4453, allocations: 223.5 kB / 0.5327 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4453, allocations: 0 / 0.5327 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.4456, allocations: 122.3 kB / 0.5328 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.4464, allocations: 84.83 kB / 0.5329 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.4487, allocations: 0.915 MB / 0.5338 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.4494, allocations: 0.8621 MB / 0.5347 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.4496, allocations: 81.22 kB / 0.5347 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4498, allocations: 39.98 kB / 0.5348 GB, free: 9.289 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4498, allocations: 0 / 0.5348 GB, free: 9.289 MB / 398.1 MB Notification: Performance of Templates: time 0.01101/0.4608, allocations: 4.398 MB / 0.5391 GB, free: 7.121 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches