Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001352/0.001352, allocations: 105.7 kB / 16.41 MB, free: 6.508 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.00125/0.00125, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.461/1.461, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2439/0.2439, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.002044/0.002044, allocations: 69.47 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1107, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003521/0.1142, allocations: 1.693 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1157, allocations: 0.8 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.1158, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1162, allocations: 35.83 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1164, allocations: 55.7 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1167, allocations: 95.75 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1169, allocations: 91.7 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.117, allocations: 20.19 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1171, allocations: 39.78 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.1172, allocations: 27.86 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1172, allocations: 4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1174, allocations: 47.91 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.1174, allocations: 23.92 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.1175, allocations: 27.81 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1177, allocations: 111.5 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1177, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1177, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1178, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007277/0.1185, allocations: 402.9 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1185, allocations: 19.81 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1186, allocations: 42.69 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1186, allocations: 8.891 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.119, allocations: 212.5 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.119, allocations: 4 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.119, allocations: 0 / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1192, allocations: 53.67 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1192, allocations: 0 / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1192, allocations: 0 / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1192, allocations: 4 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.1193, allocations: 19.98 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1197, allocations: 284.8 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1199, allocations: 54.69 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.12, allocations: 20.84 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.12, allocations: 0 / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1202, allocations: 75.33 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1202, allocations: 0 / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006012/0.1208, allocations: 173.6 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1209, allocations: 55.34 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1211, allocations: 162.4 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1211, allocations: 29.7 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.1212, allocations: 104.1 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1212, allocations: 27.78 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.1213, allocations: 25.7 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1214, allocations: 314.8 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.1215, allocations: 23.98 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1216, allocations: 37.7 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1217, allocations: 61.64 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1217, allocations: 0 / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.122, allocations: 97.59 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.122, allocations: 8 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.122, allocations: 3.938 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.122, allocations: 0 / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.1221, allocations: 19.92 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1221, allocations: 7.938 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.1222, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1222, allocations: 8.031 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001506/0.1224, allocations: 129.8 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1224, allocations: 7.953 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.1224, allocations: 16.66 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1224, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1225, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1225, allocations: 3.984 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1229, allocations: 395.2 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1229, allocations: 3.984 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.123, allocations: 12 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.123, allocations: 4 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.123, allocations: 0 / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.123, allocations: 4.172 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.123, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1233, allocations: 204.3 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.1233, allocations: 93.05 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1234, allocations: 0 / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.1234, allocations: 4 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.1235, allocations: 7.984 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1235, allocations: 8.188 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1236, allocations: 123.9 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1236, allocations: 3.938 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1239, allocations: 23.94 kB / 0.4937 GB, free: 5.43 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002261/0.1262, allocations: 1.097 MB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1264, allocations: 59.92 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1264, allocations: 0 / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.1265, allocations: 27.92 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1268, allocations: 35.52 kB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1288, allocations: 1.57 MB / 0.4964 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1292, allocations: 0.7079 MB / 0.4971 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1293, allocations: 16.86 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.1293, allocations: 39.42 kB / 0.4972 GB, free: 1.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1293, allocations: 0 / 0.4972 GB, free: 1.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.1546, allocations: 3.247 MB / 0.5004 GB, free: 14.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.042, allocations: 4 kB / 0.5004 GB, free: 14.51 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_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_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches