Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003279/0.003279, allocations: 79.86 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3634, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003309/0.3668, allocations: 1.659 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.369, allocations: 1.197 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3691, allocations: 7.938 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.3693, allocations: 25.36 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.3697, allocations: 81.73 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.3701, allocations: 172.4 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3703, allocations: 83.39 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3704, allocations: 21.59 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.3704, allocations: 28.23 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3706, allocations: 36.22 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3706, allocations: 4.125 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3708, allocations: 109.5 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.3709, allocations: 17.42 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.371, allocations: 34.67 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.3713, allocations: 153.7 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3713, allocations: 1.062 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3713, allocations: 3.938 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3713, allocations: 0 / 0.5342 GB, free: 10.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006967/0.372, allocations: 424.2 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3721, allocations: 9.438 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.3721, allocations: 40.34 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.3722, allocations: 8.609 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3724, allocations: 202.8 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3724, allocations: 6.344 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3725, allocations: 7.125 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3727, allocations: 78.05 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3727, allocations: 1.094 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3727, allocations: 0 / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3727, allocations: 5.594 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3729, allocations: 43.08 kB / 0.535 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.3733, allocations: 314.3 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3735, allocations: 45.47 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.3736, allocations: 33.17 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3736, allocations: 0 / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3737, allocations: 31.78 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3737, allocations: 1.156 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008471/0.3745, allocations: 238 kB / 0.5356 GB, free: 9.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.3746, allocations: 79.11 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3748, allocations: 164 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3748, allocations: 27.11 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.3749, allocations: 103.8 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3749, allocations: 22.17 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.375, allocations: 24.11 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.3753, allocations: 325.6 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3755, allocations: 37.69 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3756, allocations: 53.06 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3759, allocations: 91.59 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3759, allocations: 0 / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003049/0.3762, allocations: 125.4 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3762, allocations: 5.406 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3762, allocations: 288 / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3763, allocations: 0 / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3764, allocations: 27.62 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3764, allocations: 4 kB / 0.5367 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.3765, allocations: 18.95 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3765, allocations: 1.531 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.000114/0.3766, allocations: 120.3 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.3767, allocations: 16.39 kB / 0.5368 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.3772, allocations: 142.5 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3772, allocations: 1.094 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3772, allocations: 0 / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3773, allocations: 12.92 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.3779, allocations: 411.9 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3779, allocations: 0 / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.378, allocations: 19.17 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.378, allocations: 4 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.378, allocations: 12.95 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3781, allocations: 1.094 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3781, allocations: 0 / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.3784, allocations: 224.2 kB / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.3785, allocations: 87.56 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3786, allocations: 5.219 kB / 0.5377 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3787, allocations: 14.48 kB / 0.5377 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3787, allocations: 6.453 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3787, allocations: 1.938 kB / 0.5377 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3789, allocations: 117.4 kB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3789, allocations: 0 / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3792, allocations: 43.42 kB / 0.5379 GB, free: 7.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.002519/0.3817, allocations: 1.14 MB / 0.539 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.382, allocations: 92.91 kB / 0.5391 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.382, allocations: 4.688 kB / 0.5391 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3822, allocations: 52.17 kB / 0.5391 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3825, allocations: 19.06 kB / 0.5391 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.3849, allocations: 1.647 MB / 0.5407 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3853, allocations: 0.7016 MB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.27e-05/0.3854, allocations: 31.56 kB / 0.5415 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.3854, allocations: 35.58 kB / 0.5415 GB, free: 4.172 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3854, allocations: 0 / 0.5415 GB, free: 4.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.4153, allocations: 3.591 MB / 0.545 GB, free: 2.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.412, allocations: 8.969 kB / 0.545 GB, free: 2.137 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches