Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2788/0.2788, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 75.83 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3282, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002955/0.3312, allocations: 1.683 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.3321, allocations: 0.553 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.3322, allocations: 3.5 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.3324, allocations: 75.61 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.3327, allocations: 99.06 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.333, allocations: 137.4 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.3332, allocations: 86.3 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3333, allocations: 25.84 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.3333, allocations: 35.8 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3335, allocations: 61.23 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3335, allocations: 4.062 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.3336, allocations: 49.98 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.3337, allocations: 24.09 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.3337, allocations: 38.88 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3339, allocations: 129.4 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3339, allocations: 4 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3339, allocations: 3.938 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.334, allocations: 0 / 0.5335 GB, free: 11.2 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.0005518/0.3345, allocations: 435.5 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3346, allocations: 8.875 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.3346, allocations: 35.81 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.3346, allocations: 14.47 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3348, allocations: 200.9 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3349, allocations: 6.5 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3349, allocations: 7.344 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3351, allocations: 71.19 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3351, allocations: 0 / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3351, allocations: 1.281 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3351, allocations: 1.281 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.3352, allocations: 38.88 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3357, allocations: 316.7 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3359, allocations: 49.78 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.336, allocations: 25.5 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.336, allocations: 9.281 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.336, allocations: 34.56 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.3361, allocations: 5.656 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001459/0.3375, allocations: 414.2 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3376, allocations: 56.78 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3378, allocations: 212.4 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3378, allocations: 31.08 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.3379, allocations: 113.6 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3379, allocations: 35.81 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.338, allocations: 25.95 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3381, allocations: 327 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3382, allocations: 39.16 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3384, allocations: 44.09 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3386, allocations: 103.9 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3386, allocations: 5.312 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.3389, allocations: 142.4 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.339, allocations: 5.031 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.339, allocations: 4 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.339, allocations: 4.875 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3391, allocations: 32.44 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3391, allocations: 1.312 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.3392, allocations: 6.375 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3392, allocations: 6.516 kB / 0.5362 GB, free: 8.824 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.0001056/0.3393, allocations: 129.6 kB / 0.5363 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.3394, allocations: 13.75 kB / 0.5364 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.3398, allocations: 167.7 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3398, allocations: 8.984 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3398, allocations: 1.281 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3398, allocations: 0 / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.3405, allocations: 481.9 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3405, allocations: 1.156 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3406, allocations: 25.05 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.3407, allocations: 1.094 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3407, allocations: 1.906 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3407, allocations: 5.031 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3407, allocations: 5.016 kB / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.3411, allocations: 260.2 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.3411, allocations: 93.41 kB / 0.5374 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.3412, allocations: 5.281 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3413, allocations: 15.73 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.3413, allocations: 16.2 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3414, allocations: 3.719 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3415, allocations: 164.7 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3415, allocations: 1.281 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3418, allocations: 25.66 kB / 0.5376 GB, free: 7.668 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.001789/0.3436, allocations: 1.155 MB / 0.5387 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.3439, allocations: 102.3 kB / 0.5388 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.344, allocations: 0 / 0.5388 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.3441, allocations: 62.75 kB / 0.5389 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3445, allocations: 19.89 kB / 0.5389 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.3471, allocations: 1.892 MB / 0.5407 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3473, allocations: 0.7108 MB / 0.5414 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.3474, allocations: 14.66 kB / 0.5414 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.3475, allocations: 39.61 kB / 0.5415 GB, free: 4.379 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3475, allocations: 0 / 0.5415 GB, free: 4.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.3702, allocations: 3.487 MB / 0.5449 GB, free: 2.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.097, allocations: 2.328 kB / 0.5449 GB, free: 2.496 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_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_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches