Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 102.8 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2124/0.2124, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 64.25 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1195, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002498/0.122, allocations: 1.551 MB / 442.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.1225, allocations: 327.5 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.1226, allocations: 3.938 kB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1228, allocations: 75.77 kB / 442.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.123, allocations: 63.8 kB / 442.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1232, allocations: 95.38 kB / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1233, allocations: 59.89 kB / 442.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.1234, allocations: 19.98 kB / 442.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.1235, allocations: 31.91 kB / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.471e-05/0.1236, allocations: 59.81 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1236, allocations: 0 / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.1237, allocations: 27.94 kB / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1237, allocations: 19.92 kB / 442.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1238, allocations: 27.75 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1239, allocations: 87.77 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1239, allocations: 0 / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1239, allocations: 0 / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1239, allocations: 0 / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003437/0.1243, allocations: 395 kB / 443.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1243, allocations: 19.89 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.272e-05/0.1244, allocations: 34.75 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1244, allocations: 12.83 kB / 443.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1245, allocations: 196.9 kB / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1246, allocations: 384 / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1246, allocations: 384 / 443.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1247, allocations: 53.61 kB / 443.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1247, allocations: 0 / 443.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1247, allocations: 8 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1247, allocations: 0 / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.1248, allocations: 27.98 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1251, allocations: 292.8 kB / 444.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1253, allocations: 46.56 kB / 444.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.1254, allocations: 16.94 kB / 444.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1254, allocations: 4 kB / 444.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.1254, allocations: 30.56 kB / 444.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1254, allocations: 0 / 444.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005119/0.1259, allocations: 161.2 kB / 444.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.126, allocations: 55.41 kB / 444.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1261, allocations: 210.2 kB / 444.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.1261, allocations: 25.7 kB / 444.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.1262, allocations: 104 kB / 444.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1262, allocations: 15.75 kB / 444.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1262, allocations: 21.72 kB / 444.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.1263, allocations: 322.8 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.1264, allocations: 23.92 kB / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.1264, allocations: 27.92 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1266, allocations: 56.81 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1266, allocations: 0 / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001589/0.1267, allocations: 81.58 kB / 445.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1268, allocations: 5.25 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1268, allocations: 0 / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1268, allocations: 0 / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.1269, allocations: 19.98 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1269, allocations: 0 / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.1269, allocations: 11.94 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1269, allocations: 3.938 kB / 445.3 MB, free: 1.867 MB / 318.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 (5): * Single equations (assignments): 5 * 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 5.891e-05/0.127, allocations: 125.8 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.127, allocations: 11.91 kB / 445.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.1272, allocations: 102.2 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1272, allocations: 4 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1273, allocations: 0 / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1273, allocations: 0 / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.1276, allocations: 366.3 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1276, allocations: 0 / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.1277, allocations: 15.98 kB / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1277, allocations: 0 / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1277, allocations: 0 / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1277, allocations: 7.938 kB / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1277, allocations: 0 / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1279, allocations: 183.4 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.1279, allocations: 85.02 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1279, allocations: 4 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.128, allocations: 11.92 kB / 446.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1281, allocations: 4 kB / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1281, allocations: 4 kB / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.1282, allocations: 155.2 kB / 446.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1282, allocations: 0 / 446.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1284, allocations: 12 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001196/0.1296, allocations: 1.01 MB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1298, allocations: 55.89 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1298, allocations: 0 / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.1299, allocations: 27.98 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1303, allocations: 25.48 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.132, allocations: 1.57 MB / 449 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1323, allocations: 0.7079 MB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.066e-05/0.1324, allocations: 16.3 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.1325, allocations: 31.42 kB / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1325, allocations: 0 / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1509, allocations: 2.675 MB / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.854, allocations: 11.91 kB / 452.5 MB, free: 10.5 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches