Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_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.001539/0.001539, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001889/0.001889, allocations: 192 kB / 18.55 MB, free: 4.566 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.38/1.38, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1935/0.1935, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.55 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.101, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00295/0.104, allocations: 1.699 MB / 471.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1053, allocations: 0.8886 MB / 472 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.1053, allocations: 0 / 472 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1056, allocations: 47.8 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.1058, allocations: 63.69 kB / 472.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1061, allocations: 114.8 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.1063, allocations: 91.7 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1064, allocations: 12.22 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.1065, allocations: 43.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.1066, allocations: 23.86 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1066, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.1067, allocations: 47.97 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.1068, allocations: 23.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.1068, allocations: 51.61 kB / 472.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.107, allocations: 127.8 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1071, allocations: 4 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1071, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1071, allocations: 0 / 472.6 MB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000534/0.1076, allocations: 442.7 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1077, allocations: 8.031 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1077, allocations: 34.73 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1077, allocations: 16.75 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.108, allocations: 220 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.108, allocations: 4.375 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.108, allocations: 3.938 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1082, allocations: 57.61 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1082, allocations: 0 / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1082, allocations: 4 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1082, allocations: 0 / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.1083, allocations: 15.98 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.1087, allocations: 300.9 kB / 473.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1088, allocations: 58.62 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.1089, allocations: 20.84 kB / 473.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1089, allocations: 0 / 473.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.1091, allocations: 71.39 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1092, allocations: 0 / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005303/0.1097, allocations: 188.9 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1097, allocations: 55.41 kB / 474.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.11, allocations: 266.9 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.11, allocations: 29.7 kB / 474.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.1101, allocations: 112.1 kB / 474.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1101, allocations: 19.72 kB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.1102, allocations: 25.7 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1103, allocations: 330.8 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.1104, allocations: 15.98 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.1104, allocations: 41.64 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1105, allocations: 57.66 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1106, allocations: 0 / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1107, allocations: 113.4 kB / 475.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1108, allocations: 4.188 kB / 475.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1108, allocations: 4.375 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1108, allocations: 3.938 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.1109, allocations: 19.98 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1109, allocations: 0 / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.111, allocations: 15.88 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.111, allocations: 4 kB / 475.1 MB, free: 8.281 MB / 350.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.0001205/0.1111, allocations: 137.8 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1111, allocations: 15.81 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.1112, allocations: 21.39 kB / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1112, allocations: 0 / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1112, allocations: 0 / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1112, allocations: 7.938 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.1117, allocations: 399.3 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1117, allocations: 0 / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.1117, allocations: 12.03 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1117, allocations: 3.938 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1118, allocations: 0 / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1118, allocations: 4 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1118, allocations: 0 / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.112, allocations: 208.1 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.1121, allocations: 96.89 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1121, allocations: 7.938 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.1122, allocations: 8 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1122, allocations: 7.984 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1122, allocations: 4 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1124, allocations: 200.2 kB / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1127, allocations: 20 kB / 476.2 MB, free: 7.047 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: 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.001609/0.1143, allocations: 1.105 MB / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1145, allocations: 63.97 kB / 477.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1145, allocations: 0 / 477.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.1146, allocations: 27.92 kB / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1149, allocations: 35.62 kB / 477.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1168, allocations: 1.791 MB / 479.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1171, allocations: 0.7235 MB / 480 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.1171, allocations: 29.11 kB / 480 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.1172, allocations: 39.42 kB / 480 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1172, allocations: 0 / 480 MB, free: 3.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.136, allocations: 3.612 MB / 483.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.76, allocations: 14.88 kB / 483.7 MB, free: 15.73 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches