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.001575/0.001575, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001929/0.001929, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2207/0.2207, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4333, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003171/0.4365, allocations: 2.045 MB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.4383, allocations: 1.157 MB / 0.5227 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.4385, allocations: 7.688 kB / 0.5227 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.4387, allocations: 43.91 kB / 0.5228 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.4391, allocations: 158.3 kB / 0.5229 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.4404, allocations: 0.5893 MB / 0.5235 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.4409, allocations: 310.2 kB / 0.5238 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4411, allocations: 76.08 kB / 0.5238 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.4413, allocations: 136.5 kB / 0.524 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.4416, allocations: 194.3 kB / 0.5242 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.4416, allocations: 14.53 kB / 0.5242 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.4418, allocations: 57.08 kB / 0.5242 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.442, allocations: 147.3 kB / 0.5244 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.4421, allocations: 170.3 kB / 0.5245 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.4426, allocations: 395.9 kB / 0.5249 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4426, allocations: 0 / 0.5249 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4426, allocations: 4 kB / 0.5249 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.4426, allocations: 0 / 0.5249 GB, free: 384 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.001028/0.4437, allocations: 0.7693 MB / 0.5257 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4437, allocations: 10.44 kB / 0.5257 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.4438, allocations: 51.97 kB / 0.5257 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.4444, allocations: 463.4 kB / 0.5262 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4444, allocations: 8.5 kB / 0.5262 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.4444, allocations: 15.52 kB / 0.5262 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.4448, allocations: 158.2 kB / 0.5263 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4448, allocations: 5.375 kB / 0.5263 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4448, allocations: 0.6562 kB / 0.5263 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4448, allocations: 2.75 kB / 0.5264 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.4452, allocations: 123 kB / 0.5265 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.4462, allocations: 0.7 MB / 0.5272 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.4465, allocations: 136.6 kB / 0.5273 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.4467, allocations: 65.36 kB / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.4467, allocations: 10.77 kB / 0.5274 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4468, allocations: 31.91 kB / 0.5274 GB, free: 14.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.4468, allocations: 0 / 0.5274 GB, free: 14.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002098/0.4489, allocations: 0.7344 MB / 0.5281 GB, free: 14.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4489, allocations: 83.86 kB / 0.5282 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4499, allocations: 0.8528 MB / 0.529 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.45, allocations: 30.48 kB / 0.529 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.4502, allocations: 247.7 kB / 0.5293 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.4503, allocations: 70.86 kB / 0.5293 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.4503, allocations: 40.67 kB / 0.5294 GB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4505, allocations: 380 kB / 0.5297 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.4508, allocations: 102.6 kB / 0.5298 GB, free: 12.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.4511, allocations: 129.6 kB / 0.53 GB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.4517, allocations: 253.9 kB / 0.5302 GB, free: 12.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4517, allocations: 0 / 0.5302 GB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007523/0.4525, allocations: 342.2 kB / 0.5305 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4525, allocations: 4.688 kB / 0.5305 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4525, allocations: 1.156 kB / 0.5305 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4525, allocations: 0.9688 kB / 0.5305 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.4529, allocations: 51.05 kB / 0.5306 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4529, allocations: 5.844 kB / 0.5306 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.4531, allocations: 27.31 kB / 0.5306 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4531, allocations: 6.062 kB / 0.5306 GB, free: 12.53 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.0002562/0.4534, allocations: 221.1 kB / 0.5308 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.4535, allocations: 54.97 kB / 0.5309 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/0.4544, allocations: 398.5 kB / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4544, allocations: 3.062 kB / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4544, allocations: 0 / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4545, allocations: 1.406 kB / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.456, allocations: 0.9377 MB / 0.5322 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.456, allocations: 2.594 kB / 0.5322 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.4563, allocations: 53.95 kB / 0.5322 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4563, allocations: 0 / 0.5322 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4563, allocations: 11.83 kB / 0.5323 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4563, allocations: 3.938 kB / 0.5323 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4563, allocations: 3.75 kB / 0.5323 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.4572, allocations: 0.5008 MB / 0.5328 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4573, allocations: 140.9 kB / 0.5329 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.4574, allocations: 1.156 kB / 0.5329 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.4577, allocations: 31.56 kB / 0.5329 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.4578, allocations: 16.33 kB / 0.5329 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4578, allocations: 9.641 kB / 0.5329 GB, free: 10.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008152/0.4586, allocations: 0.6243 MB / 0.5336 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4586, allocations: 384 / 0.5336 GB, free: 10.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.459, allocations: 60.31 kB / 0.5336 GB, free: 10.57 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.00104/0.4601, allocations: 408.7 kB / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007443/0.4608, allocations: 264.4 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4609, allocations: 0 / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.4612, allocations: 143.7 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.4619, allocations: 75.89 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.4637, allocations: 0.9852 MB / 0.5354 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.4643, allocations: 0.8703 MB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.4645, allocations: 47.25 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4645, allocations: 0 / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of Templates: time 0.01261/0.4771, allocations: 6.11 MB / 0.5423 GB, free: 4.578 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