Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001165/0.00117, allocations: 99.88 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.001887/0.001887, allocations: 190.7 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.731/1.731, 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.2217/0.2217, allocations: 43.52 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.001514/0.001514, allocations: 66.97 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002942/0.1212, allocations: 1.555 MB / 442.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005533/0.1218, allocations: 315.5 kB / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1219, allocations: 0 / 442.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1222, allocations: 95.69 kB / 442.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1223, allocations: 71.78 kB / 442.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1226, allocations: 71.78 kB / 442.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1227, allocations: 67.88 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.1228, allocations: 8 kB / 442.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.1228, allocations: 35.91 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.1229, allocations: 51.81 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1229, allocations: 4 kB / 442.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.123, allocations: 31.94 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1231, allocations: 19.91 kB / 442.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.1231, allocations: 27.75 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1233, allocations: 91.72 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1233, allocations: 0 / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1233, allocations: 0 / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1233, allocations: 0 / 443 MB, free: 4.348 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.0004086/0.1237, allocations: 410.9 kB / 443.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1237, allocations: 11.89 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.1238, allocations: 34.75 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1238, allocations: 12.75 kB / 443.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.124, allocations: 206.1 kB / 443.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.124, allocations: 4.375 kB / 443.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.124, allocations: 4.375 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1241, allocations: 45.62 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1242, allocations: 4 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1242, allocations: 4 kB / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1242, allocations: 3.984 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.1243, allocations: 19.98 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.1246, allocations: 288.8 kB / 444.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1248, allocations: 38.56 kB / 444.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.1248, allocations: 20.86 kB / 444.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1248, allocations: 3.938 kB / 444.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.1249, allocations: 30.66 kB / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1249, allocations: 0 / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005186/0.1254, allocations: 149.2 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.1254, allocations: 55.41 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1256, allocations: 219.6 kB / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1256, allocations: 25.7 kB / 444.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.1256, allocations: 112 kB / 444.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1257, allocations: 15.73 kB / 444.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1257, allocations: 21.7 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.1257, allocations: 326.8 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.1258, allocations: 19.98 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.1259, allocations: 23.92 kB / 445.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.126, allocations: 40.84 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.126, allocations: 0 / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.1261, allocations: 85.56 kB / 445.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1262, allocations: 4 kB / 445.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1262, allocations: 4 kB / 445.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1262, allocations: 0 / 445.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.1262, allocations: 12 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1263, allocations: 3.984 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.1263, allocations: 4 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1263, allocations: 7.875 kB / 445.3 MB, free: 1.891 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.042e-05/0.1264, allocations: 129.8 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.1264, allocations: 15.75 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.1266, allocations: 98.66 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1266, allocations: 0 / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1266, allocations: 0 / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.1266, allocations: 0 / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.1269, allocations: 362.8 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1269, allocations: 0 / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.127, allocations: 11.98 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.127, allocations: 0 / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.127, allocations: 4 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.127, allocations: 3.938 kB / 445.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.127, allocations: 4 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1272, allocations: 175.4 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.1272, allocations: 92.91 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1273, allocations: 4 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.1273, allocations: 11.94 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1274, allocations: 0 / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1274, allocations: 3.984 kB / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.1275, allocations: 176.2 kB / 446.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1275, allocations: 0 / 446.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1277, allocations: 12 kB / 446.4 MB, free: 0.707 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.001145/0.1289, allocations: 1.01 MB / 447.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1291, allocations: 47.91 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1291, allocations: 0 / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.1292, allocations: 19.98 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1295, allocations: 33.62 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.1312, allocations: 1.589 MB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1315, allocations: 0.7117 MB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.1315, allocations: 8 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.1316, allocations: 27.42 kB / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1316, allocations: 0 / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1544, allocations: 2.741 MB / 452.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.587, allocations: 11.42 kB / 452.6 MB, free: 10.45 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches