Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 118.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 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.2155/0.2155, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 79.86 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002999/0.354, allocations: 1.671 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.355, allocations: 0.5571 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3551, allocations: 1.875 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.3553, allocations: 59.53 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3557, allocations: 93.27 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.356, allocations: 137 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.3562, allocations: 87.84 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3563, allocations: 21.59 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.3564, allocations: 34.44 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.3565, allocations: 53.34 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3565, allocations: 3.594 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3566, allocations: 49.52 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.3567, allocations: 23.47 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.3567, allocations: 39.72 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3569, allocations: 124.7 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3569, allocations: 0 / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3569, allocations: 1.375 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3569, allocations: 0 / 0.5334 GB, free: 11.24 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.0005115/0.3575, allocations: 421.3 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3575, allocations: 8.25 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.3575, allocations: 40.09 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.3576, allocations: 10.34 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3578, allocations: 209.2 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3578, allocations: 5.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3578, allocations: 7.062 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.358, allocations: 67.42 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.358, allocations: 1.375 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.358, allocations: 4 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.358, allocations: 5.312 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3582, allocations: 37.95 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3586, allocations: 320.2 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3588, allocations: 53.92 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.3589, allocations: 25.34 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3589, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3589, allocations: 38.59 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3589, allocations: 1.375 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001429/0.3604, allocations: 388.8 kB / 0.535 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3604, allocations: 53.25 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3607, allocations: 198.3 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3607, allocations: 31.05 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.3608, allocations: 106 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.3608, allocations: 39.53 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.3609, allocations: 24.97 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.361, allocations: 322.5 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.3611, allocations: 48.11 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3613, allocations: 47.47 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.3616, allocations: 100.2 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3616, allocations: 64 / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003415/0.3619, allocations: 147.1 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3619, allocations: 4.594 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.362, allocations: 1.156 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.362, allocations: 3.938 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3621, allocations: 24.92 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3621, allocations: 4.969 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.3622, allocations: 13.89 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3622, allocations: 3 kB / 0.5361 GB, free: 8.898 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.0001123/0.3623, allocations: 135.6 kB / 0.5362 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3624, allocations: 14.06 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.3628, allocations: 155.4 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3628, allocations: 5.281 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3628, allocations: 0 / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3628, allocations: 0 / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.3635, allocations: 480.8 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3635, allocations: 1.312 kB / 0.5369 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3637, allocations: 31.81 kB / 0.5369 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3637, allocations: 2.344 kB / 0.5369 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3637, allocations: 5.469 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3637, allocations: 1.5 kB / 0.5369 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3637, allocations: 9.5 kB / 0.5369 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.3641, allocations: 255.2 kB / 0.5372 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.3642, allocations: 93.3 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3642, allocations: 5.094 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3643, allocations: 10.8 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.3643, allocations: 17.08 kB / 0.5373 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3644, allocations: 3.5 kB / 0.5373 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3645, allocations: 157.3 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3645, allocations: 0 / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.3648, allocations: 26.17 kB / 0.5375 GB, free: 7.746 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.001575/0.3664, allocations: 1.143 MB / 0.5386 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3667, allocations: 110.3 kB / 0.5387 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3668, allocations: 0 / 0.5387 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3669, allocations: 66.95 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3673, allocations: 15.59 kB / 0.5388 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3696, allocations: 1.841 MB / 0.5406 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3699, allocations: 0.7092 MB / 0.5413 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.37, allocations: 14.47 kB / 0.5413 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.37, allocations: 43.53 kB / 0.5413 GB, free: 4.484 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3701, allocations: 0 / 0.5413 GB, free: 4.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.3906, allocations: 3.408 MB / 0.5446 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.914, allocations: 25.61 kB / 0.5447 GB, free: 2.625 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches