Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001703/0.001703, allocations: 108.3 kB / 16.41 MB, free: 6.5 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.001952/0.001952, allocations: 185.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.392/1.392, 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.212/0.212, allocations: 43.53 MB / 314.1 MB, free: 464 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.001501/0.001501, allocations: 67.91 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1004, allocations: 57.78 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003018/0.1035, allocations: 1.84 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1053, allocations: 0.9013 MB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1055, allocations: 4 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.1061, allocations: 223.4 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.1065, allocations: 167.4 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1069, allocations: 147.6 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1073, allocations: 231.4 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1074, allocations: 25.53 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1076, allocations: 115.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1078, allocations: 147.5 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1078, allocations: 4 kB / 0.4912 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.108, allocations: 51.97 kB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.1081, allocations: 51.84 kB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.1081, allocations: 83.34 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1085, allocations: 218.9 kB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1085, allocations: 4 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1085, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.1085, allocations: 0 / 0.4916 GB, free: 8.023 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006827/0.1092, allocations: 0.5406 MB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1092, allocations: 11.89 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.1093, allocations: 38.73 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.1093, allocations: 32.75 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.1097, allocations: 288.3 kB / 0.4924 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1098, allocations: 4.375 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1098, allocations: 7.938 kB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.11, allocations: 95.36 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.11, allocations: 0 / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1101, allocations: 4 kB / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1101, allocations: 4 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1102, allocations: 43.91 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.1107, allocations: 445 kB / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.111, allocations: 117.3 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.1111, allocations: 41.7 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1112, allocations: 0 / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.1114, allocations: 120.9 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.1114, allocations: 0 / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008559/0.1123, allocations: 376.6 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1123, allocations: 92.98 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.1127, allocations: 428.5 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1128, allocations: 25.7 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.1129, allocations: 156.3 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1129, allocations: 59.56 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.113, allocations: 37.7 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1131, allocations: 338.8 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1132, allocations: 43.97 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1133, allocations: 70.84 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.1135, allocations: 119.4 kB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1136, allocations: 0 / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003193/0.1139, allocations: 189.3 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1139, allocations: 8 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1139, allocations: 0 / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1139, allocations: 0 / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1141, allocations: 43.98 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1141, allocations: 0 / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.1142, allocations: 7.984 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1142, allocations: 8 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001455/0.1144, allocations: 165.7 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.1144, allocations: 31.77 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.842e-05/0.1145, allocations: 38.62 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1145, allocations: 7.938 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1145, allocations: 0 / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1145, allocations: 4 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.1152, allocations: 0.6245 MB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1152, allocations: 0 / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.1153, allocations: 16 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1153, allocations: 7.984 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1153, allocations: 0 / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1153, allocations: 8.75 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1153, allocations: 4 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.1157, allocations: 367.8 kB / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.1158, allocations: 100.9 kB / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1158, allocations: 8 kB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.116, allocations: 15.98 kB / 0.4966 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.116, allocations: 11.98 kB / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.116, allocations: 11.94 kB / 0.4966 GB, free: 2.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.1163, allocations: 319 kB / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1163, allocations: 0 / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1167, allocations: 40 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001532/0.1182, allocations: 1.272 MB / 0.4982 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.1185, allocations: 115.9 kB / 0.4983 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1185, allocations: 0 / 0.4983 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1186, allocations: 55.92 kB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1192, allocations: 53.3 kB / 0.4984 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.1221, allocations: 2.645 MB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1225, allocations: 0.7632 MB / 0.5017 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1226, allocations: 33.92 kB / 0.5017 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1227, allocations: 79.41 kB / 0.5018 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1227, allocations: 0 / 0.5018 GB, free: 12.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1457, allocations: 5.75 MB / 0.5074 GB, free: 7.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.074, allocations: 3.938 kB / 0.5074 GB, free: 7.195 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches