Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001994/0.001994, allocations: 120.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0022/0.0022, allocations: 202 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.451/1.451, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 79.81 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.361, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003036/0.3641, allocations: 1.617 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009674/0.3651, allocations: 0.5359 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.3652, allocations: 5.531 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3655, allocations: 81.06 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.3658, allocations: 97.88 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.3661, allocations: 99.03 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3663, allocations: 84.88 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.3664, allocations: 15.61 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.828e-05/0.3664, allocations: 27.95 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3666, allocations: 60.09 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3666, allocations: 3.531 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.3667, allocations: 52.91 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.3667, allocations: 19.61 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.3668, allocations: 29.44 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.367, allocations: 113.7 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.367, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.367, allocations: 3.938 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.367, allocations: 0 / 0.5333 GB, free: 11.36 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.000443/0.3675, allocations: 417 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3675, allocations: 13.72 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.3675, allocations: 38.69 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3676, allocations: 14.5 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3678, allocations: 207.5 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.3678, allocations: 2.125 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3678, allocations: 2.594 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3679, allocations: 57.92 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.368, allocations: 5.359 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.368, allocations: 0 / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.368, allocations: 9.406 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.3681, allocations: 22.92 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.3685, allocations: 295.9 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3686, allocations: 37.97 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.3686, allocations: 20.97 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3687, allocations: 4 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3687, allocations: 36.16 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3687, allocations: 0 / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008477/0.3696, allocations: 225.6 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3696, allocations: 60.77 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3698, allocations: 211.2 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3698, allocations: 29.7 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.3699, allocations: 105.6 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.37, allocations: 27.88 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.37, allocations: 23.2 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3701, allocations: 327 kB / 0.5354 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.3702, allocations: 25.73 kB / 0.5354 GB, free: 9.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.3703, allocations: 21.73 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3704, allocations: 60.45 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3704, allocations: 0 / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001956/0.3706, allocations: 108.2 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3706, allocations: 5.5 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3706, allocations: 4.312 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3707, allocations: 5.375 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3708, allocations: 17.73 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3708, allocations: 3.938 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.3708, allocations: 4.125 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3708, allocations: 9.359 kB / 0.5356 GB, free: 9.172 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.234e-05/0.3709, allocations: 124.8 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.371, allocations: 13.41 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3712, allocations: 127.6 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3713, allocations: 5 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3713, allocations: 3.938 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3713, allocations: 1.375 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.3717, allocations: 402.5 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3718, allocations: 0 / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.3718, allocations: 25.92 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3718, allocations: 1.375 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3719, allocations: 1.188 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3719, allocations: 1.188 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3719, allocations: 5.125 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3721, allocations: 200.3 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.3722, allocations: 100.2 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3722, allocations: 1.125 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.3723, allocations: 3.562 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.3723, allocations: 15.16 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3723, allocations: 2.188 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3725, allocations: 164.5 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3725, allocations: 0 / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.3727, allocations: 22.03 kB / 0.5368 GB, free: 8.125 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.001422/0.3741, allocations: 1.097 MB / 0.5379 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3744, allocations: 71.62 kB / 0.538 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3744, allocations: 0 / 0.538 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.3745, allocations: 32.83 kB / 0.538 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3748, allocations: 22.59 kB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3766, allocations: 1.677 MB / 0.5396 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3769, allocations: 0.7077 MB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.377, allocations: 11.39 kB / 0.5403 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.3771, allocations: 33.92 kB / 0.5404 GB, free: 5.023 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3771, allocations: 0 / 0.5404 GB, free: 5.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.3985, allocations: 3.097 MB / 0.5434 GB, free: 3.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/7.928, allocations: 4.75 kB / 0.5434 GB, free: 3.328 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches