Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",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.001331/0.001331, allocations: 105.3 kB / 16.27 MB, free: 5.93 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.001429/0.001429, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.601/1.601, 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.2196/0.2196, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001639/0.00164, allocations: 66.53 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1022, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.003151/0.1054, allocations: 1.547 MB / 442.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.1061, allocations: 327.5 kB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.1061, allocations: 0 / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1064, allocations: 31.78 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1066, allocations: 31.86 kB / 442.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1069, allocations: 95.73 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.107, allocations: 51.91 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1071, allocations: 8 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.1072, allocations: 23.91 kB / 442.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.1072, allocations: 23.81 kB / 442.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1072, allocations: 0 / 442.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.1073, allocations: 31.98 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.1074, allocations: 15.92 kB / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.1074, allocations: 23.86 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1076, allocations: 75.73 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1076, allocations: 0 / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1076, allocations: 0 / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1076, allocations: 0 / 442.9 MB, free: 4.52 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.0003678/0.108, allocations: 375.2 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.108, allocations: 15.89 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.108, allocations: 38.75 kB / 443.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.1081, allocations: 12.78 kB / 443.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1083, allocations: 188.2 kB / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1083, allocations: 384 / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1083, allocations: 4.375 kB / 443.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1084, allocations: 45.62 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1085, allocations: 0 / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1085, allocations: 8 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1085, allocations: 4 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.1086, allocations: 27.97 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.1089, allocations: 288.8 kB / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.1092, allocations: 38.56 kB / 443.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1092, allocations: 20.94 kB / 443.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1093, allocations: 7.984 kB / 444 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1093, allocations: 34.56 kB / 444 MB, free: 3.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.1093, allocations: 0 / 444 MB, free: 3.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005866/0.1099, allocations: 145.3 kB / 444.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.1099, allocations: 55.41 kB / 444.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.11, allocations: 153.4 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.1101, allocations: 37.64 kB / 444.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.1101, allocations: 100 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1101, allocations: 11.75 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1102, allocations: 25.64 kB / 444.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.1102, allocations: 322.8 kB / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.1103, allocations: 23.97 kB / 444.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.1104, allocations: 19.98 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1105, allocations: 56.83 kB / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1105, allocations: 0 / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.1107, allocations: 77.58 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1107, allocations: 7.984 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1107, allocations: 0 / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1107, allocations: 4 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.1108, allocations: 11.94 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1108, allocations: 4 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1109, allocations: 15.92 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1109, allocations: 0 / 445 MB, free: 2.152 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 6.057e-05/0.1109, allocations: 121.8 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.111, allocations: 7.906 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.1112, allocations: 98.2 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1112, allocations: 4 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1112, allocations: 4 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1112, allocations: 3.938 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.1116, allocations: 350.5 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1116, allocations: 0 / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1116, allocations: 8 kB / 445.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1116, allocations: 4 kB / 445.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1117, allocations: 7.922 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1117, allocations: 4 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1117, allocations: 0 / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1119, allocations: 183.4 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1119, allocations: 85 kB / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1119, allocations: 3.938 kB / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.112, allocations: 4 kB / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.112, allocations: 7.984 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1121, allocations: 7.938 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.1121, allocations: 115.3 kB / 446 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1121, allocations: 0 / 446 MB, free: 1.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1124, allocations: 19.98 kB / 446.1 MB, free: 1.031 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.00114/0.1135, allocations: 1.006 MB / 447.1 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1137, allocations: 59.91 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1137, allocations: 0 / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.1138, allocations: 27.97 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1142, allocations: 29.12 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1158, allocations: 1.444 MB / 448.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1161, allocations: 0.693 MB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.293e-05/0.1162, allocations: 20.23 kB / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.1162, allocations: 27.38 kB / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1162, allocations: 0 / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.1365, allocations: 2.461 MB / 451.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.75, allocations: 8 kB / 451.8 MB, free: 11.19 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches