Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001577, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.11 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 79.52 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003362/0.114, allocations: 1.616 MB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.115, allocations: 0.5299 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.1151, allocations: 4 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1154, allocations: 95.67 kB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1157, allocations: 111.6 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.116, allocations: 99.62 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1162, allocations: 75.83 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1163, allocations: 23.95 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.1164, allocations: 39.84 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.1165, allocations: 59.81 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1165, allocations: 0 / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1166, allocations: 47.98 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1166, allocations: 19.92 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.1167, allocations: 39.67 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1169, allocations: 104 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1169, allocations: 3.984 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1169, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1169, allocations: 0 / 483 MB, free: 2.332 MB / 350.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.000499/0.1174, allocations: 426.8 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1175, allocations: 12.03 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1175, allocations: 34.73 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.1176, allocations: 16.75 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1178, allocations: 196.1 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1178, allocations: 4.359 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1178, allocations: 8.375 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.118, allocations: 49.62 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.118, allocations: 0 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.118, allocations: 3.938 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.118, allocations: 4 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1181, allocations: 31.97 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1185, allocations: 292.7 kB / 484 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1187, allocations: 46.5 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.1187, allocations: 16.94 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1187, allocations: 4 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1188, allocations: 38.56 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1188, allocations: 0 / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000923/0.1197, allocations: 225 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1198, allocations: 59.34 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.12, allocations: 231.1 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.12, allocations: 25.7 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.1201, allocations: 108.1 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1201, allocations: 35.55 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1202, allocations: 17.72 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1203, allocations: 326.8 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.1204, allocations: 31.97 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.1205, allocations: 19.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.1207, allocations: 64.77 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1207, allocations: 3.938 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000216/0.1209, allocations: 97.81 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1209, allocations: 6.344 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1209, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.121, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1211, allocations: 19.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1211, allocations: 8 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1211, allocations: 7.984 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1212, allocations: 8 kB / 485.4 MB, free: 15.67 MB / 366.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.0001026/0.1213, allocations: 129.8 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1213, allocations: 16.23 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1216, allocations: 123 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1216, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1216, allocations: 7.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1216, allocations: 3.984 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.1223, allocations: 411.2 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1223, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.1224, allocations: 27.86 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1224, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1224, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1224, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1224, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1227, allocations: 200.3 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.1228, allocations: 92.86 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1228, allocations: 7.984 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1229, allocations: 4 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1229, allocations: 4 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1229, allocations: 3.984 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1231, allocations: 180.2 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1231, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1234, allocations: 24 kB / 486.6 MB, free: 14.34 MB / 366.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.001757/0.1251, allocations: 1.088 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1254, allocations: 71.88 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1254, allocations: 0 / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1255, allocations: 43.97 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.126, allocations: 16 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1281, allocations: 1.696 MB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1284, allocations: 0.7119 MB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.1284, allocations: 16.61 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.1285, allocations: 31.42 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1285, allocations: 4 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.1507, allocations: 3.103 MB / 493.4 MB, free: 7.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.584, allocations: 12.27 kB / 493.4 MB, free: 7.637 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_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_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches