Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001539/0.001539, allocations: 100.3 kB / 16.26 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.001617/0.001617, allocations: 190.9 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.587/1.587, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2293/0.2293, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001486/0.001486, allocations: 74.83 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.00255/0.1086, allocations: 1.547 MB / 442.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005264/0.1092, allocations: 323.5 kB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.1092, allocations: 0 / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1095, allocations: 71.72 kB / 442.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1097, allocations: 63.8 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1099, allocations: 67.78 kB / 442.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.11, allocations: 67.89 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1102, allocations: 15.98 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.259e-05/0.1102, allocations: 27.91 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.1103, allocations: 51.83 kB / 442.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1103, allocations: 4 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.1104, allocations: 27.92 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.1105, allocations: 19.92 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1105, allocations: 31.75 kB / 442.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1107, allocations: 87.77 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1107, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1107, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1107, allocations: 0 / 443 MB, free: 4.375 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.0004046/0.1111, allocations: 399 kB / 443.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1112, allocations: 15.89 kB / 443.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.1112, allocations: 30.75 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.1112, allocations: 8.844 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1114, allocations: 208.9 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1114, allocations: 384 / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1114, allocations: 384 / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1116, allocations: 53.62 kB / 443.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1116, allocations: 0 / 443.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1116, allocations: 4 kB / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1116, allocations: 0 / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.1117, allocations: 27.97 kB / 443.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.112, allocations: 280.8 kB / 444 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1122, allocations: 42.5 kB / 444.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.1123, allocations: 16.86 kB / 444.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1123, allocations: 4.078 kB / 444.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.1123, allocations: 30.56 kB / 444.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1123, allocations: 4 kB / 444.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005068/0.1128, allocations: 145.2 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1129, allocations: 59.41 kB / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.113, allocations: 198.2 kB / 444.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.113, allocations: 33.64 kB / 444.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.1131, allocations: 108 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.1131, allocations: 15.75 kB / 444.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1131, allocations: 17.72 kB / 444.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.1132, allocations: 326.8 kB / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.149e-05/0.1133, allocations: 19.98 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.1133, allocations: 19.92 kB / 445 MB, free: 2.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1134, allocations: 48.77 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1134, allocations: 4 kB / 445.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001499/0.1136, allocations: 77.58 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1136, allocations: 8 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1136, allocations: 0 / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1137, allocations: 0 / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.1137, allocations: 11.98 kB / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1137, allocations: 0 / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.1138, allocations: 8 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1138, allocations: 7.938 kB / 445.2 MB, free: 1.953 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.077e-05/0.1138, allocations: 133.7 kB / 445.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1139, allocations: 7.906 kB / 445.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.1141, allocations: 94.22 kB / 445.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1141, allocations: 0 / 445.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1141, allocations: 4 kB / 445.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1141, allocations: 3.984 kB / 445.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1144, allocations: 354.4 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1145, allocations: 0 / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.1145, allocations: 15.98 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1145, allocations: 0 / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1145, allocations: 0 / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1145, allocations: 7.938 kB / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1145, allocations: 0 / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1147, allocations: 179.4 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.1147, allocations: 85 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1148, allocations: 4 kB / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.1148, allocations: 3.938 kB / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1149, allocations: 7.984 kB / 446.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1149, allocations: 0 / 446.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.856e-05/0.115, allocations: 155.2 kB / 446.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.115, allocations: 4 kB / 446.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1152, allocations: 20 kB / 446.3 MB, free: 0.793 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.00113/0.1163, allocations: 0.9968 MB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1165, allocations: 55.91 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1166, allocations: 0 / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.1166, allocations: 27.97 kB / 447.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.117, allocations: 25.56 kB / 447.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1187, allocations: 1.535 MB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1191, allocations: 0.704 MB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.1191, allocations: 8.312 kB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1192, allocations: 39.36 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1192, allocations: 0 / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.1392, allocations: 2.656 MB / 452.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.571, allocations: 11.22 kB / 452.3 MB, free: 10.68 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches