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.001609/0.001609, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.002047/0.002047, allocations: 183.1 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.551/1.551, 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.224/0.224, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 56.14 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4343, allocations: 60.83 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004258/0.4387, allocations: 2.054 MB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4407, allocations: 1.149 MB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.4409, allocations: 7 kB / 0.522 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.4412, allocations: 52.41 kB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000453/0.4417, allocations: 154.3 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.4432, allocations: 0.5898 MB / 0.5228 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.4436, allocations: 311.8 kB / 0.5231 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.4438, allocations: 75.77 kB / 0.5232 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.444, allocations: 136.2 kB / 0.5233 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.4443, allocations: 198.8 kB / 0.5235 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.4443, allocations: 14.09 kB / 0.5235 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.4445, allocations: 62.38 kB / 0.5236 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.4447, allocations: 146 kB / 0.5237 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.4448, allocations: 162.4 kB / 0.5239 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.4454, allocations: 399.7 kB / 0.5243 GB, free: 408 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4454, allocations: 0.8438 kB / 0.5243 GB, free: 408 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4454, allocations: 0 / 0.5243 GB, free: 408 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.4454, allocations: 0 / 0.5243 GB, free: 408 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.00113/0.4466, allocations: 0.7705 MB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4466, allocations: 9.281 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.4467, allocations: 51.62 kB / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.4473, allocations: 463 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.4474, allocations: 4.5 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.4474, allocations: 15.94 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.4478, allocations: 158.2 kB / 0.5257 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4478, allocations: 1.375 kB / 0.5257 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.4478, allocations: 5.375 kB / 0.5257 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4479, allocations: 3.266 kB / 0.5257 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.4482, allocations: 118.6 kB / 0.5258 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4492, allocations: 0.7055 MB / 0.5265 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.4496, allocations: 131.1 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4497, allocations: 74.55 kB / 0.5267 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.4498, allocations: 1.312 kB / 0.5267 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4498, allocations: 32.84 kB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4498, allocations: 0 / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002052/0.4519, allocations: 0.7387 MB / 0.5274 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.4519, allocations: 83.17 kB / 0.5275 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/0.4529, allocations: 0.8564 MB / 0.5284 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.4529, allocations: 26.8 kB / 0.5284 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4531, allocations: 252.4 kB / 0.5286 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.4532, allocations: 62.33 kB / 0.5287 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.4533, allocations: 39.69 kB / 0.5287 GB, free: 13.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4535, allocations: 373.4 kB / 0.5291 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.4538, allocations: 115 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.4541, allocations: 127.2 kB / 0.5293 GB, free: 12.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.4547, allocations: 258.1 kB / 0.5296 GB, free: 12.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4547, allocations: 0 / 0.5296 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007513/0.4555, allocations: 334 kB / 0.5299 GB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4555, allocations: 5.562 kB / 0.5299 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4555, allocations: 4 kB / 0.5299 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4555, allocations: 1.25 kB / 0.5299 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.4558, allocations: 55.78 kB / 0.5299 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4559, allocations: 5 kB / 0.5299 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4561, allocations: 15.36 kB / 0.53 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.4561, allocations: 13.3 kB / 0.53 GB, free: 12.55 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.0002391/0.4563, allocations: 218 kB / 0.5302 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4565, allocations: 55.59 kB / 0.5302 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009111/0.4574, allocations: 401.7 kB / 0.5306 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4574, allocations: 3.5 kB / 0.5306 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4574, allocations: 4 kB / 0.5306 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4574, allocations: 5.203 kB / 0.5306 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.4589, allocations: 0.9305 MB / 0.5315 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.459, allocations: 1.594 kB / 0.5315 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.4592, allocations: 64.28 kB / 0.5316 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4592, allocations: 3.5 kB / 0.5316 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4593, allocations: 3.562 kB / 0.5316 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4593, allocations: 3.938 kB / 0.5316 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4593, allocations: 0 / 0.5316 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.4601, allocations: 0.509 MB / 0.5321 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.4602, allocations: 136.7 kB / 0.5322 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.4603, allocations: 5.25 kB / 0.5322 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.4605, allocations: 23.58 kB / 0.5323 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.4606, allocations: 20.25 kB / 0.5323 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.4607, allocations: 13.92 kB / 0.5323 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007679/0.4614, allocations: 0.6203 MB / 0.5329 GB, free: 10.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4614, allocations: 384 / 0.5329 GB, free: 10.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.4618, allocations: 61.05 kB / 0.533 GB, free: 10.59 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.0009545/0.4628, allocations: 403.8 kB / 0.5333 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.4635, allocations: 267.6 kB / 0.5336 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4636, allocations: 0 / 0.5336 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.4639, allocations: 145 kB / 0.5337 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.4646, allocations: 77.98 kB / 0.5338 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.4661, allocations: 0.964 MB / 0.5347 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.4666, allocations: 0.884 MB / 0.5356 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.4669, allocations: 100.6 kB / 0.5357 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.467, allocations: 41.23 kB / 0.5357 GB, free: 8.785 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.467, allocations: 3.938 kB / 0.5358 GB, free: 8.781 MB / 398.1 MB Notification: Performance of Templates: time 0.00977/0.4768, allocations: 4.426 MB / 0.5401 GB, free: 6.164 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