Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.001265/0.001265, allocations: 102.2 kB / 16.27 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.001024/0.001024, allocations: 190.1 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.479/1.479, 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.2153/0.2153, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00169/0.001691, allocations: 77.61 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09868, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003512/0.1022, allocations: 1.693 MB / 442.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1038, allocations: 0.7961 MB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.104, allocations: 4 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.1044, allocations: 55.73 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1047, allocations: 55.77 kB / 443.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.105, allocations: 87.7 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.1053, allocations: 99.69 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1054, allocations: 16.16 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1055, allocations: 39.8 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.1056, allocations: 27.84 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1057, allocations: 4 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1058, allocations: 39.98 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.1059, allocations: 23.92 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.106, allocations: 43.67 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1062, allocations: 131.6 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1062, allocations: 7.938 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1062, allocations: 0 / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1063, allocations: 0 / 443.7 MB, free: 3.645 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000595/0.1069, allocations: 438.6 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1069, allocations: 11.89 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.107, allocations: 34.73 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.107, allocations: 16.75 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1074, allocations: 223.5 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1074, allocations: 8.375 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1074, allocations: 3.938 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1076, allocations: 57.61 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1076, allocations: 4 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1076, allocations: 0 / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1076, allocations: 0 / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.1077, allocations: 19.98 kB / 444.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1081, allocations: 296.8 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1083, allocations: 70.59 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.1084, allocations: 20.84 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1084, allocations: 3.938 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.1086, allocations: 67.39 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1086, allocations: 4 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.1092, allocations: 177.1 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1092, allocations: 51.41 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1094, allocations: 259.7 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1094, allocations: 29.7 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.1095, allocations: 116 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1095, allocations: 23.66 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.1096, allocations: 25.7 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.1096, allocations: 330.8 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.1097, allocations: 19.98 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.1097, allocations: 41.58 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.317e-05/0.1098, allocations: 57.7 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1099, allocations: 0 / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001547/0.11, allocations: 109.5 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.11, allocations: 8 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.11, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1101, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.1102, allocations: 12 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1102, allocations: 7.984 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.1102, allocations: 7.844 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1102, allocations: 4 kB / 446.3 MB, free: 0.8828 MB / 318.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 8.454e-05/0.1103, allocations: 141.7 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1104, allocations: 11.94 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1104, allocations: 21.39 kB / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1104, allocations: 0 / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1104, allocations: 4 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1104, allocations: 3.938 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.1108, allocations: 403.2 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1108, allocations: 3.984 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1108, allocations: 8.375 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1108, allocations: 7.969 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1108, allocations: 0 / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1108, allocations: 8 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1109, allocations: 0 / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1111, allocations: 200.5 kB / 447 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.1111, allocations: 92.94 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1111, allocations: 11.88 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.1113, allocations: 8 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1113, allocations: 7.984 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1113, allocations: 4 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1115, allocations: 199.3 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1115, allocations: 0 / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1118, allocations: 24 kB / 447.4 MB, free: 15.64 MB / 334.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.001438/0.1132, allocations: 1.113 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1134, allocations: 59.97 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1134, allocations: 0 / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.1135, allocations: 27.94 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1138, allocations: 30 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1156, allocations: 1.803 MB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1159, allocations: 0.7156 MB / 451.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.116, allocations: 21.17 kB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.116, allocations: 43.42 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1161, allocations: 3.938 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.1361, allocations: 3.626 MB / 454.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/7.864, allocations: 7.875 kB / 454.8 MB, free: 8.133 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_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_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches