Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.001283/0.001282, allocations: 108 kB / 16.41 MB, free: 6.492 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.001352/0.001352, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.477/1.477, 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.2274/0.2274, allocations: 43.54 MB / 314.1 MB, free: 468 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.00204/0.002041, allocations: 79.88 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003028/0.1104, allocations: 1.681 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1125, allocations: 1.41 MB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.1126, allocations: 0 / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1129, allocations: 51.64 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1132, allocations: 59.77 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1134, allocations: 91.69 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1136, allocations: 95.75 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.1137, allocations: 8.219 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.1138, allocations: 43.78 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1139, allocations: 43.83 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.114, allocations: 7.938 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1141, allocations: 59.97 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.1141, allocations: 8 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.1142, allocations: 51.7 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1144, allocations: 119.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1144, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1144, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1144, allocations: 0 / 0.4911 GB, free: 8.488 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.0005615/0.115, allocations: 406.8 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1151, allocations: 11.89 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.1151, allocations: 34.75 kB / 0.4915 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1152, allocations: 16.83 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1154, allocations: 211.6 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1155, allocations: 384 / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1155, allocations: 11.92 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1157, allocations: 67.39 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1157, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1157, allocations: 4 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1157, allocations: 0 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.1158, allocations: 19.98 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1162, allocations: 296.7 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1164, allocations: 50.69 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.1165, allocations: 20.84 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1165, allocations: 4 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1167, allocations: 71.33 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1167, allocations: 0 / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005327/0.1172, allocations: 165.5 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.1173, allocations: 81.05 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1174, allocations: 157.7 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1175, allocations: 33.7 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.1175, allocations: 88.14 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.1176, allocations: 31.78 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.1176, allocations: 21.72 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1178, allocations: 322.8 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.1178, allocations: 23.98 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.1179, allocations: 42.5 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.118, allocations: 65.67 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.118, allocations: 0 / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.1182, allocations: 97.62 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1183, allocations: 4 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1183, allocations: 4 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1183, allocations: 0 / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.1184, allocations: 20.3 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1184, allocations: 0 / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.1185, allocations: 11.94 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1185, allocations: 11.94 kB / 0.4934 GB, free: 5.871 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.0001074/0.1186, allocations: 129.6 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1186, allocations: 7.953 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.1187, allocations: 12.72 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1187, allocations: 4 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1187, allocations: 0 / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1187, allocations: 3.938 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1191, allocations: 395.3 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1192, allocations: 4.031 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.1192, allocations: 8 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1192, allocations: 3.938 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1192, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1192, allocations: 4 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1192, allocations: 3.938 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1195, allocations: 200.3 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1195, allocations: 89.03 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1196, allocations: 7.938 kB / 0.4942 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1197, allocations: 0 / 0.4942 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1197, allocations: 11.98 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1197, allocations: 4 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1198, allocations: 118.7 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1198, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1201, allocations: 31.94 kB / 0.4944 GB, free: 4.75 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.002238/0.1223, allocations: 1.139 MB / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1225, allocations: 55.91 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1226, allocations: 4 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.1226, allocations: 24 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.123, allocations: 31.38 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1248, allocations: 1.566 MB / 0.4972 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1251, allocations: 0.6924 MB / 0.4978 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.335e-05/0.1252, allocations: 21.33 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.1253, allocations: 39.36 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1253, allocations: 3.938 kB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.1554, allocations: 3.535 MB / 0.5013 GB, free: 13.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.102, allocations: 3.906 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches