Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.13 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002163, allocations: 83.8 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3608, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003583/0.3644, allocations: 1.684 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3657, allocations: 0.5801 MB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.3657, allocations: 1.375 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.366, allocations: 77.95 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.3663, allocations: 96.31 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.3668, allocations: 186.2 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.367, allocations: 91.78 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3671, allocations: 23.53 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.3672, allocations: 35.62 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3673, allocations: 57.56 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3674, allocations: 7.375 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3675, allocations: 49.52 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.3676, allocations: 30.53 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.3676, allocations: 42.3 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3679, allocations: 126.4 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3679, allocations: 5.375 kB / 0.5337 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3679, allocations: 0 / 0.5337 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3679, allocations: 0 / 0.5337 GB, free: 11.1 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.0006374/0.3686, allocations: 435.5 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3686, allocations: 13.38 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3686, allocations: 40.88 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.3687, allocations: 14.56 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3689, allocations: 209.2 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3689, allocations: 1.438 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.369, allocations: 7.562 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3692, allocations: 69.59 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3692, allocations: 0 / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3692, allocations: 1.219 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3692, allocations: 5.375 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3694, allocations: 48.61 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.3699, allocations: 326.7 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3702, allocations: 56.67 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.3703, allocations: 42.72 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3703, allocations: 0 / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3704, allocations: 35.94 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.3704, allocations: 0 / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.3719, allocations: 431.9 kB / 0.5353 GB, free: 9.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3719, allocations: 52.78 kB / 0.5354 GB, free: 9.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3722, allocations: 218.2 kB / 0.5356 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3722, allocations: 26.8 kB / 0.5356 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.3723, allocations: 107 kB / 0.5357 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3723, allocations: 39.55 kB / 0.5357 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.3724, allocations: 34.08 kB / 0.5358 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3726, allocations: 327.2 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3727, allocations: 56.27 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3729, allocations: 53.75 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.3732, allocations: 124.3 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3732, allocations: 3.938 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003571/0.3735, allocations: 177.3 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3736, allocations: 5.25 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3736, allocations: 0 / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3736, allocations: 5.062 kB / 0.5365 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3737, allocations: 32.22 kB / 0.5365 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3737, allocations: 1.125 kB / 0.5365 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.3738, allocations: 13.7 kB / 0.5365 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3738, allocations: 3.5 kB / 0.5365 GB, free: 8.645 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 (11): * Single equations (assignments): 11 * 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.0001181/0.374, allocations: 130.7 kB / 0.5367 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.374, allocations: 17.81 kB / 0.5367 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.3745, allocations: 184.7 kB / 0.5369 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3745, allocations: 5.312 kB / 0.5369 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3745, allocations: 4 kB / 0.5369 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.3746, allocations: 5.297 kB / 0.5369 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.3753, allocations: 0.5036 MB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3753, allocations: 1.375 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3755, allocations: 35.52 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3755, allocations: 1.469 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3755, allocations: 2.594 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3755, allocations: 0.9375 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3755, allocations: 1.219 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.376, allocations: 281.2 kB / 0.5377 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.376, allocations: 97.19 kB / 0.5378 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.3761, allocations: 2.188 kB / 0.5378 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3762, allocations: 14.14 kB / 0.5378 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.3762, allocations: 13.11 kB / 0.5378 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3762, allocations: 3.906 kB / 0.5378 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3764, allocations: 168.9 kB / 0.538 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 7.938 kB / 0.538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3767, allocations: 27.81 kB / 0.538 GB, free: 7.438 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002382/0.3791, allocations: 1.155 MB / 0.5391 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.3795, allocations: 135.8 kB / 0.5392 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3795, allocations: 1.125 kB / 0.5392 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3797, allocations: 70.7 kB / 0.5393 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3801, allocations: 30.27 kB / 0.5393 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.383, allocations: 1.972 MB / 0.5413 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3834, allocations: 0.7257 MB / 0.542 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.3835, allocations: 31.55 kB / 0.542 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.3836, allocations: 43.3 kB / 0.542 GB, free: 4.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3836, allocations: 4 kB / 0.5421 GB, free: 4.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.4082, allocations: 3.621 MB / 0.5456 GB, free: 2.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.462, allocations: 10.09 kB / 0.5456 GB, free: 2.113 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches