Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 122.8 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.002297/0.002297, allocations: 202 kB / 18.73 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.506/1.506, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001702, allocations: 71.89 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3589, allocations: 62.44 MB / 0.5305 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003006/0.362, allocations: 1.602 MB / 0.5321 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.3628, allocations: 0.5253 MB / 0.5326 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.3629, allocations: 5.281 kB / 0.5326 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3631, allocations: 35.58 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3634, allocations: 73.38 kB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.3637, allocations: 98.03 kB / 0.5328 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3638, allocations: 57.25 kB / 0.5329 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.364, allocations: 14.77 kB / 0.5329 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.364, allocations: 24.08 kB / 0.5329 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.3641, allocations: 22.42 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3641, allocations: 6.75 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.3642, allocations: 37.02 kB / 0.533 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.3643, allocations: 20.41 kB / 0.533 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.3643, allocations: 28.97 kB / 0.533 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3645, allocations: 77.48 kB / 0.5331 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3645, allocations: 0 / 0.5331 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3645, allocations: 3.938 kB / 0.5331 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3645, allocations: 1.219 kB / 0.5331 GB, free: 11.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004573/0.365, allocations: 394.5 kB / 0.5335 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.365, allocations: 16.67 kB / 0.5335 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.3651, allocations: 32.69 kB / 0.5335 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.3651, allocations: 12.62 kB / 0.5335 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.3653, allocations: 198.2 kB / 0.5337 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3653, allocations: 6.125 kB / 0.5337 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3653, allocations: 5.969 kB / 0.5337 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3655, allocations: 47.28 kB / 0.5338 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3655, allocations: 0 / 0.5338 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3655, allocations: 0 / 0.5338 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3655, allocations: 1.938 kB / 0.5338 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3657, allocations: 24.61 kB / 0.5338 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3661, allocations: 276 kB / 0.5341 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3664, allocations: 43.28 kB / 0.5341 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.3664, allocations: 15.95 kB / 0.5341 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.3665, allocations: 1.312 kB / 0.5341 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3665, allocations: 34.66 kB / 0.5342 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3665, allocations: 1.438 kB / 0.5342 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005894/0.3671, allocations: 149.9 kB / 0.5343 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3672, allocations: 55.41 kB / 0.5344 GB, free: 9.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3673, allocations: 181.8 kB / 0.5345 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3674, allocations: 29.7 kB / 0.5346 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.3674, allocations: 100.2 kB / 0.5347 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3674, allocations: 14.59 kB / 0.5347 GB, free: 9.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.3675, allocations: 21.83 kB / 0.5347 GB, free: 9.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3676, allocations: 317.6 kB / 0.535 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.3677, allocations: 18.98 kB / 0.535 GB, free: 9.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.3677, allocations: 14.98 kB / 0.535 GB, free: 9.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3679, allocations: 54.77 kB / 0.5351 GB, free: 9.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3679, allocations: 1.375 kB / 0.5351 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.3681, allocations: 88 kB / 0.5352 GB, free: 9.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3682, allocations: 5.5 kB / 0.5352 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3682, allocations: 1.375 kB / 0.5352 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3682, allocations: 0 / 0.5352 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.3683, allocations: 9.625 kB / 0.5352 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3683, allocations: 9.312 kB / 0.5352 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3683, allocations: 10.73 kB / 0.5352 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3684, allocations: 5.312 kB / 0.5352 GB, free: 9.219 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 (5): * Single equations (assignments): 5 * 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.0001342/0.3685, allocations: 120.7 kB / 0.5353 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3686, allocations: 12.06 kB / 0.5353 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.3689, allocations: 89.59 kB / 0.5354 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3689, allocations: 1.375 kB / 0.5354 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3689, allocations: 7.938 kB / 0.5354 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.369, allocations: 1.375 kB / 0.5354 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.3695, allocations: 347.9 kB / 0.5358 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3695, allocations: 0 / 0.5358 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.3696, allocations: 9.625 kB / 0.5358 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3696, allocations: 5.312 kB / 0.5358 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3696, allocations: 7.984 kB / 0.5358 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3696, allocations: 1.375 kB / 0.5358 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3696, allocations: 4 kB / 0.5358 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.3699, allocations: 172.5 kB / 0.5359 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.37, allocations: 87.77 kB / 0.536 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.37, allocations: 8.172 kB / 0.536 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.3701, allocations: 6.75 kB / 0.536 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3701, allocations: 6.688 kB / 0.536 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3701, allocations: 5.375 kB / 0.5361 GB, free: 8.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3703, allocations: 140.7 kB / 0.5362 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.925e-06/0.3703, allocations: 0 / 0.5362 GB, free: 8.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3705, allocations: 22.88 kB / 0.5362 GB, free: 8.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001459/0.372, allocations: 0.9952 MB / 0.5372 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3722, allocations: 52.16 kB / 0.5372 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3722, allocations: 0 / 0.5372 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.3723, allocations: 23.42 kB / 0.5373 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3727, allocations: 17.23 kB / 0.5373 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3745, allocations: 1.502 MB / 0.5387 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3748, allocations: 0.6958 MB / 0.5394 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.3748, allocations: 14.44 kB / 0.5394 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.3749, allocations: 27.48 kB / 0.5395 GB, free: 5.332 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3749, allocations: 3.938 kB / 0.5395 GB, free: 5.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.3961, allocations: 2.638 MB / 0.542 GB, free: 3.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.212, allocations: 10.39 kB / 0.542 GB, free: 3.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches