Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, 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.001899/0.0019, allocations: 199.9 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.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 79.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3553, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003383/0.3587, allocations: 1.62 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3598, allocations: 0.5335 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.3599, allocations: 1.375 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.3602, allocations: 134.8 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.3606, allocations: 122.5 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3609, allocations: 90.33 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.3611, allocations: 105.9 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3612, allocations: 12.41 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.3613, allocations: 49.72 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3615, allocations: 85.72 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3615, allocations: 3.625 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.3616, allocations: 42.44 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.3617, allocations: 30.23 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.3618, allocations: 34.56 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.362, allocations: 127.1 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.362, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.362, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.362, allocations: 4 kB / 0.5334 GB, free: 11.27 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.0005354/0.3626, allocations: 446.2 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3626, allocations: 12.23 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.3626, allocations: 32.12 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3627, allocations: 19.72 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3629, allocations: 213.6 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3629, allocations: 1.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.363, allocations: 7.125 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3631, allocations: 61.92 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3631, allocations: 1.375 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3632, allocations: 4 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3632, allocations: 1.375 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.3633, allocations: 23.11 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3637, allocations: 303 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.3638, allocations: 54.92 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.3639, allocations: 19.81 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3639, allocations: 1.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3639, allocations: 31.94 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3639, allocations: 0 / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009148/0.3648, allocations: 236.4 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3649, allocations: 51.41 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.3652, allocations: 279.1 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3652, allocations: 26.98 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.3653, allocations: 115 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3654, allocations: 27.48 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3654, allocations: 27.44 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3656, allocations: 327.8 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.3657, allocations: 29.83 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3658, allocations: 26.39 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.366, allocations: 60.02 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.366, allocations: 0 / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002385/0.3662, allocations: 109.9 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3662, allocations: 8.5 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3663, allocations: 1.031 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3663, allocations: 0 / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3664, allocations: 21.52 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3664, allocations: 5 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3665, allocations: 3.312 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3665, allocations: 2.219 kB / 0.5359 GB, free: 9.004 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.000154/0.3666, allocations: 137.1 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.3667, allocations: 14.69 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.367, allocations: 122.8 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.367, allocations: 1.094 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.367, allocations: 5.031 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.367, allocations: 3.984 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.3677, allocations: 423.7 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3677, allocations: 5.594 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3678, allocations: 20.55 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3678, allocations: 1.281 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3678, allocations: 1.469 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3678, allocations: 1.156 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3678, allocations: 1.531 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.3681, allocations: 216.2 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.3682, allocations: 92.55 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3682, allocations: 1.969 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.3683, allocations: 7.266 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3683, allocations: 7.125 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3683, allocations: 6.141 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3686, allocations: 213.3 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3686, allocations: 0 / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3689, allocations: 18.69 kB / 0.5372 GB, free: 7.926 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.001698/0.3706, allocations: 1.099 MB / 0.5382 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3708, allocations: 58.62 kB / 0.5383 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3708, allocations: 0 / 0.5383 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.3709, allocations: 37.14 kB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3713, allocations: 30.62 kB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.3735, allocations: 1.805 MB / 0.5401 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.374, allocations: 0.7168 MB / 0.5408 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.374, allocations: 8.578 kB / 0.5408 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.3741, allocations: 41.75 kB / 0.5409 GB, free: 4.758 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3741, allocations: 3.938 kB / 0.5409 GB, free: 4.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.396, allocations: 3.384 MB / 0.5442 GB, free: 2.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.177, allocations: 9.266 kB / 0.5442 GB, free: 2.918 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches