Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, 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.001945/0.001945, 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.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.57 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.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 76.16 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3479, allocations: 62.44 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003827/0.3517, allocations: 1.681 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.353, allocations: 0.5486 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3531, allocations: 1.625 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3534, allocations: 54.23 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3538, allocations: 105.7 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.3542, allocations: 137.5 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3544, allocations: 83.48 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3545, allocations: 20.78 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.3546, allocations: 34.84 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3547, allocations: 41.78 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3547, allocations: 4.125 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3549, allocations: 52.97 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.355, allocations: 24.17 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.355, allocations: 33.23 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3553, allocations: 119 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3553, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3553, allocations: 4 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3553, allocations: 1.375 kB / 0.5334 GB, free: 11.26 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.0007592/0.3561, allocations: 431.7 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.3562, allocations: 9.625 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3562, allocations: 32.12 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3563, allocations: 14.34 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3566, allocations: 207.1 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3566, allocations: 1.75 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3566, allocations: 3.125 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3568, allocations: 75.41 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3569, allocations: 5.359 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3569, allocations: 4 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3569, allocations: 1.375 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.357, allocations: 33.97 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3575, allocations: 318.9 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3577, allocations: 51.31 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.3578, allocations: 25.34 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3578, allocations: 1.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3579, allocations: 38.58 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3579, allocations: 0 / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.3594, allocations: 414.3 kB / 0.535 GB, free: 9.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3595, allocations: 56.64 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3597, allocations: 195.5 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3597, allocations: 25.7 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.3598, allocations: 109.8 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.3599, allocations: 36.22 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.3599, allocations: 28.98 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3601, allocations: 322.5 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3602, allocations: 40.06 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3603, allocations: 43.84 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.3606, allocations: 112 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3606, allocations: 0 / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003236/0.3609, allocations: 138.4 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.361, allocations: 5.5 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.361, allocations: 0 / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.361, allocations: 5.312 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3611, allocations: 32.59 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3612, allocations: 0 / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.3612, allocations: 6.875 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3612, allocations: 10.73 kB / 0.5361 GB, free: 8.895 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.0001134/0.3614, allocations: 123.4 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3614, allocations: 13.41 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.3618, allocations: 171 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3618, allocations: 5.219 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3618, allocations: 0 / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3619, allocations: 5.141 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.3626, allocations: 475.9 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3626, allocations: 1.094 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3627, allocations: 32.31 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3627, allocations: 1.125 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.3627, allocations: 2.062 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3627, allocations: 1.094 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3628, allocations: 1.031 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3631, allocations: 260.3 kB / 0.5372 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.3632, allocations: 93.09 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3632, allocations: 5.406 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3633, allocations: 10.78 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3634, allocations: 17.11 kB / 0.5373 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.3634, allocations: 7.844 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3635, allocations: 145.8 kB / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3635, allocations: 0 / 0.5374 GB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3638, allocations: 29.98 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.001538/0.3654, allocations: 1.135 MB / 0.5386 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3657, allocations: 107.7 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3657, allocations: 0 / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3659, allocations: 62.89 kB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3662, allocations: 19.25 kB / 0.5388 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3684, allocations: 1.822 MB / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3687, allocations: 0.7085 MB / 0.5412 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.3688, allocations: 22.88 kB / 0.5412 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.3689, allocations: 42.23 kB / 0.5413 GB, free: 4.496 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3689, allocations: 1.188 kB / 0.5413 GB, free: 4.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3898, allocations: 3.358 MB / 0.5446 GB, free: 2.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.127, allocations: 16.98 kB / 0.5446 GB, free: 2.66 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches