Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001916/0.001916, allocations: 183 kB / 18.72 MB, free: 4.332 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.385/1.385, 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.2159/0.2159, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 72.08 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4405, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003555/0.4441, allocations: 1.981 MB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.4461, allocations: 1.139 MB / 0.522 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4462, allocations: 3.656 kB / 0.522 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.4465, allocations: 45.48 kB / 0.522 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.4469, allocations: 149.3 kB / 0.5222 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.4483, allocations: 0.5865 MB / 0.5227 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.4487, allocations: 280.5 kB / 0.523 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.4489, allocations: 57.34 kB / 0.523 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.4491, allocations: 125.1 kB / 0.5232 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.4494, allocations: 180.2 kB / 0.5233 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.4494, allocations: 10.53 kB / 0.5234 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4495, allocations: 60.55 kB / 0.5234 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.4497, allocations: 139.2 kB / 0.5235 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.4499, allocations: 159.2 kB / 0.5237 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.4505, allocations: 379.5 kB / 0.5241 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4505, allocations: 4 kB / 0.5241 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4505, allocations: 0 / 0.5241 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4505, allocations: 1.375 kB / 0.5241 GB, free: 0.5078 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.001095/0.4516, allocations: 0.7589 MB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4517, allocations: 9.25 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.4518, allocations: 54.94 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.4524, allocations: 453.3 kB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4525, allocations: 7.281 kB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.4525, allocations: 16.05 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.4528, allocations: 146.6 kB / 0.5255 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4528, allocations: 0.7969 kB / 0.5255 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4529, allocations: 5.375 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4529, allocations: 2.75 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.4531, allocations: 94.53 kB / 0.5256 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.4542, allocations: 0.6749 MB / 0.5262 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.4545, allocations: 118.8 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4546, allocations: 44.2 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4546, allocations: 6.75 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4546, allocations: 43.81 kB / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.4546, allocations: 0 / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001541/0.4562, allocations: 0.5433 MB / 0.5269 GB, free: 14.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.4562, allocations: 82.23 kB / 0.527 GB, free: 14.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.4573, allocations: 0.8548 MB / 0.5279 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4573, allocations: 31.11 kB / 0.5279 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4575, allocations: 251.2 kB / 0.5281 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.4576, allocations: 60.69 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.4577, allocations: 37.77 kB / 0.5282 GB, free: 13.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4578, allocations: 376 kB / 0.5286 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.458, allocations: 59.61 kB / 0.5286 GB, free: 13.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.4582, allocations: 84.66 kB / 0.5287 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.4586, allocations: 155.9 kB / 0.5289 GB, free: 13.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4586, allocations: 5.094 kB / 0.5289 GB, free: 13.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000512/0.4591, allocations: 233.7 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4591, allocations: 9.016 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4591, allocations: 1.031 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4591, allocations: 0.8125 kB / 0.5291 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.4594, allocations: 40.22 kB / 0.5291 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4594, allocations: 5.219 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4595, allocations: 14.7 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4595, allocations: 4.125 kB / 0.5292 GB, free: 12.96 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.000268/0.4598, allocations: 212.5 kB / 0.5294 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4599, allocations: 54.78 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.4605, allocations: 294.2 kB / 0.5297 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.4605, allocations: 2.812 kB / 0.5297 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.4605, allocations: 4 kB / 0.5297 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4605, allocations: 1.75 kB / 0.5297 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.4618, allocations: 0.7881 MB / 0.5305 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4618, allocations: 0 / 0.5305 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.4619, allocations: 35.62 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4619, allocations: 2.125 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.462, allocations: 5.812 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.462, allocations: 5.062 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.462, allocations: 1.094 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.4626, allocations: 429.2 kB / 0.5309 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4627, allocations: 135.8 kB / 0.5311 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.4628, allocations: 5.078 kB / 0.5311 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.463, allocations: 14.56 kB / 0.5311 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.463, allocations: 15 kB / 0.5311 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.463, allocations: 7.75 kB / 0.5311 GB, free: 11.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008563/0.4639, allocations: 0.631 MB / 0.5317 GB, free: 11.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4639, allocations: 0 / 0.5317 GB, free: 11.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.4643, allocations: 54.25 kB / 0.5318 GB, free: 11.19 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.0009853/0.4653, allocations: 401.5 kB / 0.5322 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005102/0.4658, allocations: 157.4 kB / 0.5323 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4658, allocations: 0 / 0.5323 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.466, allocations: 84.98 kB / 0.5324 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.4667, allocations: 83.73 kB / 0.5325 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.4684, allocations: 0.917 MB / 0.5334 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.469, allocations: 0.8665 MB / 0.5342 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.4692, allocations: 80.52 kB / 0.5343 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4693, allocations: 43.52 kB / 0.5343 GB, free: 9.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4693, allocations: 0 / 0.5343 GB, free: 9.5 MB / 398.1 MB Notification: Performance of Templates: time 0.01115/0.4805, allocations: 4.039 MB / 0.5383 GB, free: 7.539 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches