Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001431/0.001431, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001893/0.001893, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.224/0.224, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 73.08 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 60.81 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003669/0.1123, allocations: 1.575 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.1132, allocations: 419.2 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.696e-05/0.1134, allocations: 0 / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1137, allocations: 79.7 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.114, allocations: 59.81 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1145, allocations: 123.2 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1146, allocations: 71.89 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1148, allocations: 12.19 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.1149, allocations: 39.83 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.115, allocations: 55.81 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.115, allocations: 4 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1152, allocations: 47.92 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1152, allocations: 12 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.1153, allocations: 35.72 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1155, allocations: 95.94 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1155, allocations: 3.938 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1155, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1155, allocations: 0 / 472 MB, free: 11.65 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.0004702/0.116, allocations: 407 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.116, allocations: 12.03 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.1161, allocations: 38.73 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.1161, allocations: 12.78 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1163, allocations: 200.1 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1164, allocations: 384 / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1164, allocations: 12.03 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1166, allocations: 49.69 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1166, allocations: 0 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1166, allocations: 4 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1166, allocations: 0 / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1167, allocations: 31.95 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.1172, allocations: 304.7 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1173, allocations: 46.55 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.1174, allocations: 20.86 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1174, allocations: 4 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1174, allocations: 34.64 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1174, allocations: 3.938 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.1184, allocations: 233.1 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1185, allocations: 59.34 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1187, allocations: 210.2 kB / 473.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1187, allocations: 25.7 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1188, allocations: 104 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1189, allocations: 27.64 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1189, allocations: 21.72 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.119, allocations: 322.8 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.1191, allocations: 35.97 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1192, allocations: 27.98 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1194, allocations: 72.89 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1194, allocations: 0 / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002341/0.1196, allocations: 125.3 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1197, allocations: 4 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1197, allocations: 0 / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1197, allocations: 0 / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1198, allocations: 19.98 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1198, allocations: 3.938 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1199, allocations: 8 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1199, allocations: 0 / 474.4 MB, free: 8.988 MB / 350.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.0001039/0.12, allocations: 125.8 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.12, allocations: 15.84 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.1203, allocations: 134.3 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1203, allocations: 0 / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1204, allocations: 3.938 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1204, allocations: 0 / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.1209, allocations: 419.6 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1209, allocations: 7.922 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.121, allocations: 16 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.121, allocations: 0 / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.121, allocations: 0 / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.121, allocations: 3.984 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.121, allocations: 4 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1213, allocations: 220.3 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.1213, allocations: 84.95 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1214, allocations: 8 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1215, allocations: 11.98 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.1215, allocations: 432 / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1215, allocations: 4 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1217, allocations: 155.2 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1217, allocations: 4 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1219, allocations: 23.98 kB / 475.6 MB, free: 7.66 MB / 350.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.001614/0.1236, allocations: 1.088 MB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.1239, allocations: 79.89 kB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1239, allocations: 4 kB / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.124, allocations: 39.97 kB / 476.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1244, allocations: 27.86 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1264, allocations: 1.66 MB / 478.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1267, allocations: 0.7081 MB / 479.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.1267, allocations: 28.92 kB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.1268, allocations: 35.42 kB / 479.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1268, allocations: 4 kB / 479.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1482, allocations: 2.997 MB / 482.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.584, allocations: 16.55 kB / 482.3 MB, free: 1.086 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches