Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001594/0.001594, 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.001875/0.001875, 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.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4157, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003154/0.4189, allocations: 1.617 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.4199, allocations: 0.5481 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.42, allocations: 0 / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.4203, allocations: 78.14 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.4206, allocations: 106 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.4209, allocations: 111 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.4211, allocations: 81.09 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4212, allocations: 21.05 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.4213, allocations: 40.38 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4214, allocations: 56.25 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.4214, allocations: 2.625 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.4215, allocations: 45.17 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.4216, allocations: 23.5 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.4216, allocations: 30.41 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.4218, allocations: 109.9 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4219, allocations: 3.984 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4219, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.4219, allocations: 4 kB / 0.5333 GB, free: 11.3 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.0005055/0.4224, allocations: 415.8 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4224, allocations: 9.562 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.4225, allocations: 32.09 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.4225, allocations: 13.72 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4227, allocations: 205.3 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4228, allocations: 5.969 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.4228, allocations: 5.719 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.423, allocations: 68.38 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.423, allocations: 0 / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.423, allocations: 3.938 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.423, allocations: 2.094 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4231, allocations: 30.53 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.4235, allocations: 296.2 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.4237, allocations: 52.09 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.4237, allocations: 21.53 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.4238, allocations: 0 / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.4238, allocations: 32 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4238, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009047/0.4247, allocations: 247 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4248, allocations: 52.78 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.425, allocations: 209.8 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4251, allocations: 31.08 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.4251, allocations: 105.6 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.4252, allocations: 30.48 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.4252, allocations: 24.59 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4254, allocations: 323 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.4255, allocations: 32.47 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.4255, allocations: 28.48 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4257, allocations: 82.09 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4258, allocations: 0 / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002427/0.426, allocations: 113.7 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.426, allocations: 4.125 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4261, allocations: 1.375 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4261, allocations: 0 / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4262, allocations: 21.73 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4262, allocations: 5.312 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4263, allocations: 10.73 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4263, allocations: 2.75 kB / 0.5358 GB, free: 9.094 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.0001244/0.4264, allocations: 131.8 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.4265, allocations: 17.31 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.4268, allocations: 127.5 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4268, allocations: 0 / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4269, allocations: 9 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4269, allocations: 0 / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.4275, allocations: 427.2 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4276, allocations: 0.8125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.4276, allocations: 21.38 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4276, allocations: 1.406 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4277, allocations: 13.3 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4277, allocations: 1.281 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4277, allocations: 1.125 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.428, allocations: 208.8 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.4281, allocations: 91.27 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.4281, allocations: 2.188 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.4282, allocations: 7.516 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.4282, allocations: 7.281 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4282, allocations: 10.23 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.4284, allocations: 166.7 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4284, allocations: 1.062 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.4287, allocations: 22.69 kB / 0.537 GB, free: 8.02 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.001678/0.4304, allocations: 1.089 MB / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.4307, allocations: 79.66 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4307, allocations: 4 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4308, allocations: 40.58 kB / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4312, allocations: 23.7 kB / 0.5382 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4334, allocations: 1.704 MB / 0.5398 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4337, allocations: 0.7169 MB / 0.5405 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.864e-05/0.4338, allocations: 24.39 kB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.4339, allocations: 37.2 kB / 0.5406 GB, free: 4.883 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4339, allocations: 0 / 0.5406 GB, free: 4.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.4565, allocations: 3.149 MB / 0.5437 GB, free: 3.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.159, allocations: 6.203 kB / 0.5437 GB, free: 3.16 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches