Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001169/0.001175, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 83.86 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3634, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003312/0.3667, allocations: 1.67 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3678, allocations: 0.5507 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.3679, allocations: 3.75 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3682, allocations: 66.86 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3686, allocations: 108.7 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.369, allocations: 131 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.3692, allocations: 85.78 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3693, allocations: 24.97 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.3694, allocations: 40.64 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3695, allocations: 51.7 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3696, allocations: 4.188 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3697, allocations: 60.47 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.3698, allocations: 20.61 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.3698, allocations: 42.75 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3701, allocations: 127.9 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3701, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3701, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3701, allocations: 1.188 kB / 0.5335 GB, free: 11.2 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.0006564/0.3708, allocations: 429.8 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3708, allocations: 13.66 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.3709, allocations: 37.16 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.3709, allocations: 13.47 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.3712, allocations: 205.4 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3712, allocations: 1.375 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3713, allocations: 7.078 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3715, allocations: 71.44 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3715, allocations: 5.406 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3715, allocations: 0 / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3715, allocations: 1.375 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3717, allocations: 35.44 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.3722, allocations: 320.4 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3725, allocations: 54.12 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.3725, allocations: 24.78 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3726, allocations: 5.328 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3726, allocations: 38.56 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3726, allocations: 1.25 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00148/0.3741, allocations: 394.8 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3742, allocations: 56.72 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.3744, allocations: 220.4 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3745, allocations: 25.7 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.3745, allocations: 110.9 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.3746, allocations: 39.58 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3747, allocations: 25.95 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3749, allocations: 327 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.375, allocations: 39.53 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3751, allocations: 47.62 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.3754, allocations: 99.67 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3754, allocations: 8.906 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003452/0.3758, allocations: 138.3 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3758, allocations: 9.281 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3758, allocations: 1.062 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3758, allocations: 3.938 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.376, allocations: 33.53 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.376, allocations: 0 / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.3761, allocations: 10.44 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3761, allocations: 6.516 kB / 0.5362 GB, free: 8.832 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.0001201/0.3762, allocations: 125.2 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.3763, allocations: 18.62 kB / 0.5363 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.3767, allocations: 167.5 kB / 0.5365 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3767, allocations: 9.141 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3767, allocations: 0 / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3767, allocations: 1.062 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.3775, allocations: 486.6 kB / 0.537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3775, allocations: 0 / 0.537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3776, allocations: 25.42 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3776, allocations: 1 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3776, allocations: 2.062 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3776, allocations: 1.031 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3776, allocations: 9.047 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.3781, allocations: 256.7 kB / 0.5372 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.3781, allocations: 88.62 kB / 0.5373 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3782, allocations: 6.281 kB / 0.5373 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3783, allocations: 14.52 kB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.3783, allocations: 8.578 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3784, allocations: 7.406 kB / 0.5374 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3785, allocations: 166.5 kB / 0.5375 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3785, allocations: 0 / 0.5375 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.3789, allocations: 25.31 kB / 0.5375 GB, free: 7.684 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.001749/0.3806, allocations: 1.148 MB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.381, allocations: 102.5 kB / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.381, allocations: 0 / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3811, allocations: 67.38 kB / 0.5388 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3816, allocations: 25.95 kB / 0.5388 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3846, allocations: 1.89 MB / 0.5407 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.385, allocations: 0.712 MB / 0.5414 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.3851, allocations: 21.16 kB / 0.5414 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.3852, allocations: 39.98 kB / 0.5414 GB, free: 4.391 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3852, allocations: 0 / 0.5414 GB, free: 4.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.4076, allocations: 3.514 MB / 0.5449 GB, free: 2.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.11, allocations: 4.797 kB / 0.5449 GB, free: 2.492 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches