Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001745, allocations: 117.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 208.7 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 79.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4269, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004134/0.4311, allocations: 2.031 MB / 0.533 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.4337, allocations: 1.346 MB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.4339, allocations: 3.438 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.4343, allocations: 61.38 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.435, allocations: 205.7 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.4365, allocations: 0.607 MB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.4372, allocations: 315.4 kB / 0.5355 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.4374, allocations: 73.42 kB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.4377, allocations: 141.3 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.438, allocations: 193.9 kB / 0.5358 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.4381, allocations: 13.03 kB / 0.5359 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.4383, allocations: 68.5 kB / 0.5359 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.4385, allocations: 144.8 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.4387, allocations: 173.4 kB / 0.5362 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.4392, allocations: 396.1 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4393, allocations: 0 / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4393, allocations: 1.219 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.4393, allocations: 0 / 0.5366 GB, free: 9.496 MB / 398.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.001374/0.4407, allocations: 0.7763 MB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.4407, allocations: 17.95 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/0.4412, allocations: 71.55 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4422, allocations: 461.8 kB / 0.5379 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4422, allocations: 8.609 kB / 0.5379 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.4423, allocations: 15.5 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.4426, allocations: 147.6 kB / 0.5381 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4427, allocations: 5.156 kB / 0.5381 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.4427, allocations: 1.156 kB / 0.5381 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4427, allocations: 2.219 kB / 0.5381 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.443, allocations: 96.7 kB / 0.5382 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.4444, allocations: 0.6913 MB / 0.5388 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.4447, allocations: 112.8 kB / 0.5389 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4448, allocations: 46.59 kB / 0.539 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/0.4449, allocations: 5.25 kB / 0.539 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.4449, allocations: 48.48 kB / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4449, allocations: 0 / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001661/0.4466, allocations: 0.5452 MB / 0.5396 GB, free: 7.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.4467, allocations: 84.02 kB / 0.5396 GB, free: 7.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4479, allocations: 0.8981 MB / 0.5405 GB, free: 6.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.448, allocations: 30.8 kB / 0.5406 GB, free: 6.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4482, allocations: 260.4 kB / 0.5408 GB, free: 6.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.4483, allocations: 57.47 kB / 0.5409 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.4484, allocations: 33.33 kB / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4485, allocations: 373.6 kB / 0.5412 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.4487, allocations: 66.73 kB / 0.5413 GB, free: 5.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4489, allocations: 81.22 kB / 0.5414 GB, free: 5.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.4493, allocations: 156.8 kB / 0.5415 GB, free: 5.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4493, allocations: 4 kB / 0.5415 GB, free: 5.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005946/0.4499, allocations: 244 kB / 0.5418 GB, free: 5.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4499, allocations: 5 kB / 0.5418 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.45, allocations: 0.75 kB / 0.5418 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.45, allocations: 2.312 kB / 0.5418 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.4502, allocations: 39.59 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4502, allocations: 1.156 kB / 0.5418 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.4504, allocations: 18.61 kB / 0.5418 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4504, allocations: 8.562 kB / 0.5418 GB, free: 5.641 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.0002615/0.4507, allocations: 212.4 kB / 0.542 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4508, allocations: 57.19 kB / 0.5421 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.4515, allocations: 298 kB / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4515, allocations: 3.188 kB / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4515, allocations: 0 / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4515, allocations: 1.062 kB / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.4528, allocations: 0.8017 MB / 0.5432 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4528, allocations: 4 kB / 0.5432 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4529, allocations: 40 kB / 0.5432 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.453, allocations: 1.156 kB / 0.5432 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.453, allocations: 10.2 kB / 0.5432 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.453, allocations: 5.156 kB / 0.5432 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.453, allocations: 1.125 kB / 0.5432 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.4537, allocations: 419.5 kB / 0.5436 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4538, allocations: 136.6 kB / 0.5438 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.4539, allocations: 5.344 kB / 0.5438 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4541, allocations: 14.3 kB / 0.5438 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.4542, allocations: 14.77 kB / 0.5438 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4542, allocations: 4.438 kB / 0.5438 GB, free: 4.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008992/0.4551, allocations: 0.6666 MB / 0.5444 GB, free: 3.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4551, allocations: 0 / 0.5444 GB, free: 3.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.4555, allocations: 55.98 kB / 0.5445 GB, free: 3.516 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.001077/0.4566, allocations: 404.1 kB / 0.5449 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.4571, allocations: 151.8 kB / 0.545 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4571, allocations: 7.938 kB / 0.545 GB, free: 3.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.4573, allocations: 91.88 kB / 0.5451 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.4579, allocations: 81.38 kB / 0.5452 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.4596, allocations: 0.9389 MB / 0.5461 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.4601, allocations: 0.877 MB / 0.547 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.4604, allocations: 95.2 kB / 0.5471 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4605, allocations: 35.42 kB / 0.5471 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4605, allocations: 0 / 0.5471 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Templates: time 0.009007/0.4695, allocations: 4.122 MB / 0.5511 GB, free: 12.82 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches