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.00169/0.00169, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002085, allocations: 205.9 kB / 18.74 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.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.00152, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4146, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003096/0.4178, allocations: 1.619 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4189, allocations: 0.5329 MB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.4189, allocations: 0 / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.4192, allocations: 78.11 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.4196, allocations: 97.97 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.4198, allocations: 98.38 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.42, allocations: 89.45 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4202, allocations: 12.06 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.4202, allocations: 35.31 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4204, allocations: 60.53 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.4204, allocations: 2.812 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4205, allocations: 45.03 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.4206, allocations: 28.3 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.4206, allocations: 29.59 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.4209, allocations: 113.4 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4209, allocations: 0 / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4209, allocations: 0 / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4209, 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.0005323/0.4214, allocations: 415.9 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4215, allocations: 9.625 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.4215, allocations: 36.66 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4216, allocations: 17.92 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.4218, allocations: 207.5 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.4218, allocations: 1.125 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4218, allocations: 7.516 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.422, allocations: 57.7 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.422, allocations: 1.469 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.422, allocations: 3.938 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.422, allocations: 1.594 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.4221, allocations: 31 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.4226, allocations: 294.4 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.4227, allocations: 43.97 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.4227, allocations: 19.97 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4228, allocations: 0 / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4228, allocations: 31.94 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4228, allocations: 4 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008774/0.4237, allocations: 225.8 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4237, allocations: 52.78 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.4239, allocations: 223.2 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.424, allocations: 25.7 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.424, allocations: 103 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.4241, allocations: 30.48 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.4241, allocations: 19.22 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4243, allocations: 327 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.4244, allocations: 25.72 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.4244, allocations: 21.73 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.4246, allocations: 68.39 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4246, allocations: 0 / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001952/0.4248, allocations: 100.5 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4248, allocations: 5.5 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4248, allocations: 0 / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4248, allocations: 1.375 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.4249, allocations: 17.73 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.425, allocations: 12 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.425, allocations: 12.11 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.425, allocations: 1.375 kB / 0.5357 GB, free: 9.168 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.0001072/0.4251, allocations: 128.8 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.4252, allocations: 13.41 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.4255, allocations: 119.8 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4255, allocations: 1.25 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4255, allocations: 15.81 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4255, allocations: 1.312 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.426, allocations: 402.2 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.426, allocations: 0.8125 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.4261, allocations: 25.17 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4261, allocations: 1.953 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4261, allocations: 5.156 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4262, allocations: 5.438 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4262, allocations: 0 / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.4264, allocations: 196.4 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4265, allocations: 92.3 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.4265, allocations: 5.109 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.4266, allocations: 11.58 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.4266, allocations: 11.12 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4267, allocations: 3.406 kB / 0.5366 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.4268, allocations: 167 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4268, allocations: 0 / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.4271, allocations: 22.38 kB / 0.5368 GB, free: 8.113 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.001462/0.4286, allocations: 1.083 MB / 0.5379 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.4288, allocations: 70.44 kB / 0.538 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4288, allocations: 1.156 kB / 0.538 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.4289, allocations: 36.98 kB / 0.538 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4293, allocations: 25.62 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.001885/0.4312, allocations: 1.671 MB / 0.5396 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4315, allocations: 0.7033 MB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.4315, allocations: 11.31 kB / 0.5403 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.4316, allocations: 41.86 kB / 0.5404 GB, free: 5.016 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4316, allocations: 0 / 0.5404 GB, free: 5.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.4525, allocations: 3.098 MB / 0.5434 GB, free: 3.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.203, allocations: 11.5 kB / 0.5434 GB, free: 3.312 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