Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001173/0.001173, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3347, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003278/0.338, allocations: 1.617 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3392, allocations: 0.5345 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.3392, allocations: 4 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.3396, allocations: 110.6 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.3401, allocations: 114.6 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.3404, allocations: 94.67 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3406, allocations: 92.52 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3408, allocations: 16.25 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.3408, allocations: 39.14 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.341, allocations: 68.92 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.341, allocations: 4.125 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3411, allocations: 44.86 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.3412, allocations: 33.47 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.3412, allocations: 38.5 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3414, allocations: 116.4 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3415, allocations: 4 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3415, allocations: 0 / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3415, allocations: 0 / 0.5334 GB, free: 11.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005236/0.342, allocations: 435.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3421, allocations: 9.625 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3421, allocations: 36.12 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.3421, allocations: 14.39 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3424, allocations: 215.1 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3424, allocations: 1.719 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3424, allocations: 5.781 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3426, allocations: 59.11 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3426, allocations: 3.953 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3426, allocations: 1.469 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3426, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.3427, allocations: 23.27 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.3432, allocations: 305.7 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3433, allocations: 42.56 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.3434, allocations: 20.59 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3434, allocations: 5.062 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3434, allocations: 32.16 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3434, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008635/0.3443, allocations: 234.4 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3444, allocations: 53.59 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3446, allocations: 261.9 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3446, allocations: 26.8 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.3447, allocations: 110.9 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.3447, allocations: 27 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.3448, allocations: 27.8 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3449, allocations: 322.7 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.345, allocations: 21.92 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.3451, allocations: 26.2 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3452, allocations: 64.05 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3452, allocations: 5.125 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002025/0.3454, allocations: 108.6 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3455, allocations: 9.438 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3455, allocations: 0 / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3455, allocations: 0 / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3456, allocations: 21.73 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3456, allocations: 5.312 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.3457, allocations: 2.75 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3457, allocations: 10.69 kB / 0.5358 GB, free: 9.066 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.0001402/0.3458, allocations: 131.6 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.3459, allocations: 13.41 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.3462, allocations: 117.7 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3462, allocations: 1.375 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3462, allocations: 3.938 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3462, allocations: 1.375 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.3468, allocations: 420.8 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3468, allocations: 5.344 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.3469, allocations: 21.08 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3469, allocations: 1.219 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3469, allocations: 5 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3469, allocations: 1.25 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3469, allocations: 0.9688 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.3471, allocations: 208.6 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.3472, allocations: 88.38 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3472, allocations: 2.219 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.3473, allocations: 11.36 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3473, allocations: 3.156 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3474, allocations: 6.25 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.3475, allocations: 188.1 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3475, allocations: 1.25 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3478, allocations: 21.89 kB / 0.537 GB, free: 8.012 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.001464/0.3493, allocations: 1.097 MB / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.3495, allocations: 67.5 kB / 0.5382 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3495, allocations: 0 / 0.5382 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.3496, allocations: 41.38 kB / 0.5382 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.35, allocations: 21.19 kB / 0.5382 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.3525, allocations: 1.759 MB / 0.5399 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.3532, allocations: 0.7103 MB / 0.5406 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.3533, allocations: 11.66 kB / 0.5406 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.3533, allocations: 37.55 kB / 0.5407 GB, free: 4.855 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3533, allocations: 0 / 0.5407 GB, free: 4.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.3741, allocations: 3.265 MB / 0.5439 GB, free: 3.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.157, allocations: 12.12 kB / 0.5439 GB, free: 3.074 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches