Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, 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.001294/0.001294, 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.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.89 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3482, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002867/0.3511, allocations: 1.612 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3522, allocations: 0.5376 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.3523, allocations: 0 / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.3526, allocations: 78.39 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.353, allocations: 107 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3533, allocations: 93.53 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3536, allocations: 80.02 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3537, allocations: 16.23 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.3538, allocations: 40.34 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3539, allocations: 55.31 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3539, allocations: 4.125 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.354, allocations: 44.86 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.3541, allocations: 24.17 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.3542, allocations: 33.23 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.3544, allocations: 108.3 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3544, allocations: 1.375 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3544, allocations: 0 / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3544, allocations: 0 / 0.5333 GB, free: 11.35 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.0004845/0.3549, allocations: 423.5 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3549, allocations: 9.625 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.355, allocations: 32.12 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.355, allocations: 12.97 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3552, allocations: 209.1 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3552, allocations: 1.719 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3553, allocations: 10.97 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3554, allocations: 54.67 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3554, allocations: 0 / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3554, allocations: 4 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3555, allocations: 5.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.3556, allocations: 27.58 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.3559, allocations: 294.6 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.356, allocations: 43.34 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.3561, allocations: 19.69 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3561, allocations: 5.141 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.3562, allocations: 35.44 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3562, allocations: 4 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008908/0.3571, allocations: 222.8 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.3571, allocations: 56.55 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.3574, allocations: 214.5 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3574, allocations: 29.7 kB / 0.5349 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.3575, allocations: 109.7 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3575, allocations: 27.28 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3576, allocations: 27.27 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3577, allocations: 323 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.3578, allocations: 26.08 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.3579, allocations: 25.89 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.358, allocations: 67.52 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.358, allocations: 1.5 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002058/0.3583, allocations: 95.73 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3583, allocations: 4.375 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3583, allocations: 1.25 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3583, allocations: 0 / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3584, allocations: 17.73 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3584, allocations: 9.312 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.3585, allocations: 6.75 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3585, allocations: 2.75 kB / 0.5356 GB, free: 9.164 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 8.92e-05/0.3586, allocations: 127.4 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3586, allocations: 13.41 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.3589, allocations: 120.4 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3589, allocations: 5.312 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3589, allocations: 7.938 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.359, allocations: 1.375 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.3595, allocations: 399 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.3595, allocations: 0 / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.3596, allocations: 29.48 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3596, allocations: 1.156 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3596, allocations: 5.875 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3596, allocations: 5.125 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3596, allocations: 80 / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3599, allocations: 204.9 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.3599, allocations: 96.28 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.36, allocations: 1.125 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3601, allocations: 11.31 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3601, allocations: 7.172 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3601, allocations: 2.219 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3603, allocations: 171.4 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3603, allocations: 0 / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3605, allocations: 18.25 kB / 0.5368 GB, free: 8.109 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.001479/0.362, allocations: 1.088 MB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3623, allocations: 66.64 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3623, allocations: 0 / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.3624, allocations: 37.67 kB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.3628, allocations: 18.39 kB / 0.538 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3646, allocations: 1.678 MB / 0.5396 GB, free: 5.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3649, allocations: 0.7061 MB / 0.5403 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.3649, allocations: 12.44 kB / 0.5403 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.365, allocations: 41.2 kB / 0.5404 GB, free: 5.008 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.365, allocations: 1.094 kB / 0.5404 GB, free: 5.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.3836, allocations: 3.103 MB / 0.5434 GB, free: 3.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.132, allocations: 5.094 kB / 0.5434 GB, free: 3.309 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches