Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 122.8 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.001417/0.001417, allocations: 202 kB / 18.73 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.38/1.38, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002225, allocations: 75.86 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3522, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003191/0.3555, allocations: 1.687 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3566, allocations: 0.5771 MB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.3566, allocations: 1.906 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.3573, allocations: 456.6 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.3578, allocations: 292.8 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3583, allocations: 181 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.3585, allocations: 174.5 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3587, allocations: 23.22 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3588, allocations: 114.8 kB / 0.534 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.3591, allocations: 211.5 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3591, allocations: 4.594 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3592, allocations: 56.06 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3593, allocations: 83.94 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3594, allocations: 107.8 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.3598, allocations: 293 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3599, allocations: 0 / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3599, allocations: 0 / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3599, allocations: 1.25 kB / 0.5348 GB, free: 10.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008287/0.3607, allocations: 0.6726 MB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3608, allocations: 10.41 kB / 0.5354 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.3608, allocations: 39.83 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.3609, allocations: 48.28 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3612, allocations: 305.1 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3612, allocations: 5.656 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3613, allocations: 3.656 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3614, allocations: 61.08 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3615, allocations: 1.125 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3615, allocations: 4 kB / 0.5359 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3615, allocations: 2.062 kB / 0.5359 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3616, allocations: 34.19 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.3622, allocations: 418.8 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3623, allocations: 43.69 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.3624, allocations: 21.41 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.3624, allocations: 1.125 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3625, allocations: 39.88 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3625, allocations: 0 / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001004/0.3635, allocations: 329.3 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3635, allocations: 63.33 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009458/0.3645, allocations: 0.8752 MB / 0.5376 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3645, allocations: 25.7 kB / 0.5377 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3647, allocations: 230.3 kB / 0.5379 GB, free: 8.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3648, allocations: 28.14 kB / 0.5379 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.3648, allocations: 20.28 kB / 0.5379 GB, free: 8.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.365, allocations: 367.7 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.026e-05/0.3651, allocations: 29.28 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.3652, allocations: 32.73 kB / 0.5383 GB, free: 7.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3654, allocations: 83.3 kB / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3654, allocations: 0 / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002693/0.3657, allocations: 152.8 kB / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3657, allocations: 4.469 kB / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3657, allocations: 1.406 kB / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3657, allocations: 0 / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3658, allocations: 25.98 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.3659, allocations: 1.031 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.3659, allocations: 3.25 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3659, allocations: 6.547 kB / 0.5386 GB, free: 7.535 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 (8): * Single equations (assignments): 8 * 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.0002057/0.3662, allocations: 222.9 kB / 0.5388 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.3662, allocations: 47.83 kB / 0.5389 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.3666, allocations: 174.5 kB / 0.539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3666, allocations: 5.031 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3666, allocations: 0 / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3666, allocations: 5.109 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/0.3674, allocations: 0.5198 MB / 0.5396 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3674, allocations: 1.219 kB / 0.5396 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.3675, allocations: 26.14 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3675, allocations: 1.531 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3675, allocations: 1.375 kB / 0.5396 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3675, allocations: 3.984 kB / 0.5396 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3675, allocations: 1.219 kB / 0.5396 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.3678, allocations: 255.7 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.368, allocations: 122.9 kB / 0.54 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.368, allocations: 1.094 kB / 0.54 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.3681, allocations: 12.25 kB / 0.54 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.3681, allocations: 11.27 kB / 0.54 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3681, allocations: 2.156 kB / 0.54 GB, free: 6.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00069/0.3688, allocations: 0.661 MB / 0.5406 GB, free: 6.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3688, allocations: 0 / 0.5406 GB, free: 6.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3691, allocations: 26.62 kB / 0.5406 GB, free: 6.09 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 (8): * Single equations (assignments): 8 * 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.002156/0.3713, allocations: 1.133 MB / 0.5418 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.3716, allocations: 76.36 kB / 0.5418 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3716, allocations: 1.125 kB / 0.5418 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3717, allocations: 44.22 kB / 0.5419 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3721, allocations: 31.3 kB / 0.5419 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.3766, allocations: 3.397 MB / 0.5452 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3772, allocations: 0.8299 MB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.967e-05/0.3773, allocations: 28.72 kB / 0.5461 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.3775, allocations: 123.4 kB / 0.5462 GB, free: 1.469 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3775, allocations: 0 / 0.5462 GB, free: 1.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4062, allocations: 6.456 MB / 0.5525 GB, free: 11.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.692, allocations: 4.953 kB / 0.5525 GB, free: 11.08 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches