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.001132/0.001132, allocations: 109.4 kB / 18.46 MB, free: 4.598 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.001032/0.001032, allocations: 184.3 kB / 19.38 MB, free: 3.68 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.328/1.328, allocations: 222.9 MB / 243.1 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.2061/0.2061, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4123, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003677/0.416, allocations: 2.042 MB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4178, allocations: 1.161 MB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.418, allocations: 3.344 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.4182, allocations: 47.72 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.4186, allocations: 163.5 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.4199, allocations: 0.5853 MB / 0.5235 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.4204, allocations: 307.8 kB / 0.5238 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.4206, allocations: 75.77 kB / 0.5239 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.4209, allocations: 137.6 kB / 0.524 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.4212, allocations: 193.7 kB / 0.5242 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.4212, allocations: 12.75 kB / 0.5242 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.4214, allocations: 61.59 kB / 0.5242 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.4216, allocations: 150.9 kB / 0.5244 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.4218, allocations: 163.7 kB / 0.5245 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.4224, allocations: 398.9 kB / 0.5249 GB, free: 396 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4224, allocations: 0 / 0.5249 GB, free: 396 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4224, allocations: 1.312 kB / 0.5249 GB, free: 396 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.4224, allocations: 0 / 0.5249 GB, free: 396 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.001125/0.4235, allocations: 0.7689 MB / 0.5257 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4236, allocations: 9.016 kB / 0.5257 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.4237, allocations: 53.47 kB / 0.5257 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.4244, allocations: 454.2 kB / 0.5262 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4244, allocations: 16.44 kB / 0.5262 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.4244, allocations: 15 kB / 0.5262 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.4249, allocations: 158.3 kB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4249, allocations: 2.031 kB / 0.5264 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.425, allocations: 5.375 kB / 0.5264 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.425, allocations: 2.75 kB / 0.5264 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.4253, allocations: 122.9 kB / 0.5265 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.4265, allocations: 0.7008 MB / 0.5272 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.4268, allocations: 135.5 kB / 0.5273 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.427, allocations: 65.7 kB / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.427, allocations: 6.344 kB / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.427, allocations: 35.84 kB / 0.5274 GB, free: 14.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.616e-06/0.427, allocations: 3.984 kB / 0.5274 GB, free: 14.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002195/0.4292, allocations: 0.7345 MB / 0.5281 GB, free: 14.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.4293, allocations: 80.27 kB / 0.5282 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4303, allocations: 0.853 MB / 0.529 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.4304, allocations: 34.77 kB / 0.5291 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.4306, allocations: 247.4 kB / 0.5293 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.4307, allocations: 66.19 kB / 0.5294 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.4308, allocations: 44.8 kB / 0.5294 GB, free: 13.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.431, allocations: 368.4 kB / 0.5297 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.4313, allocations: 110.8 kB / 0.5299 GB, free: 12.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.4316, allocations: 129.7 kB / 0.53 GB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.4322, allocations: 258.3 kB / 0.5302 GB, free: 12.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4322, allocations: 0 / 0.5302 GB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007291/0.4329, allocations: 334.1 kB / 0.5305 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4329, allocations: 8.266 kB / 0.5306 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.433, allocations: 1.281 kB / 0.5306 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.433, allocations: 1.844 kB / 0.5306 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.4333, allocations: 53.86 kB / 0.5306 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4333, allocations: 1.125 kB / 0.5306 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4335, allocations: 28.12 kB / 0.5306 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.4335, allocations: 5.25 kB / 0.5306 GB, free: 12.54 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.0002343/0.4338, allocations: 217.4 kB / 0.5308 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.4339, allocations: 63.39 kB / 0.5309 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/0.4348, allocations: 387.1 kB / 0.5313 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4348, allocations: 3.984 kB / 0.5313 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.4348, allocations: 1.219 kB / 0.5313 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.435, allocations: 136.2 kB / 0.5314 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.435, allocations: 5.188 kB / 0.5314 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.4353, allocations: 16.52 kB / 0.5314 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.4354, allocations: 32.34 kB / 0.5315 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008575/0.4362, allocations: 481.8 kB / 0.5319 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007864/0.437, allocations: 0.5787 MB / 0.5325 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003695/0.4374, allocations: 135.8 kB / 0.5326 GB, free: 11.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007843/0.4382, allocations: 0.62 MB / 0.5332 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.4382, allocations: 1.219 kB / 0.5332 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.4401, allocations: 0.647 MB / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of SimCode: time 0.001829/0.442, allocations: 1.328 MB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of Templates: time 0.01144/0.4534, allocations: 5.433 MB / 0.5405 GB, free: 6.539 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/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