Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001359/0.001359, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001427/0.001427, allocations: 192 kB / 18.56 MB, free: 4.434 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.215/0.215, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 62.19 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1115, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003358/0.1149, allocations: 1.704 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1175, allocations: 1.468 MB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.1176, allocations: 7.938 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.1179, allocations: 39.77 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1182, allocations: 67.67 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1184, allocations: 103.6 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1186, allocations: 107.7 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.1187, allocations: 16.22 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.1188, allocations: 43.78 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.119, allocations: 39.84 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.119, allocations: 4 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1191, allocations: 55.97 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1192, allocations: 35.84 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.1193, allocations: 27.81 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1195, allocations: 131.9 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1195, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1195, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1195, allocations: 4 kB / 473.2 MB, free: 10.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006206/0.1202, allocations: 422.7 kB / 473.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1202, allocations: 8.031 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.1203, allocations: 34.75 kB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.1203, allocations: 12.84 kB / 473.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1206, allocations: 212.4 kB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1206, allocations: 0 / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1207, allocations: 8 kB / 473.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1209, allocations: 71.38 kB / 474 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1209, allocations: 0 / 474 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1209, allocations: 4 kB / 474 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1209, allocations: 0 / 474 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.121, allocations: 35.97 kB / 474 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1214, allocations: 300.7 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1216, allocations: 62.67 kB / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.1217, allocations: 28.84 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1217, allocations: 4 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.1219, allocations: 75.31 kB / 474.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.1219, allocations: 0 / 474.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005638/0.1225, allocations: 197.4 kB / 474.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.1226, allocations: 81.05 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1227, allocations: 159.7 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1228, allocations: 25.7 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1229, allocations: 104.2 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1229, allocations: 31.72 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.123, allocations: 29.64 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1231, allocations: 318.8 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.1232, allocations: 23.98 kB / 475.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.1233, allocations: 54.5 kB / 475.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1234, allocations: 73.67 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1234, allocations: 0 / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001963/0.1236, allocations: 113.4 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1236, allocations: 8 kB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1236, allocations: 3.938 kB / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1237, allocations: 0 / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.1238, allocations: 19.98 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1238, allocations: 0 / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.1238, allocations: 12.03 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1238, allocations: 7.938 kB / 475.7 MB, free: 7.637 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 (11): * Single equations (assignments): 11 * 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.961e-05/0.1239, allocations: 117.8 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.124, allocations: 11.91 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.1241, allocations: 20.64 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1241, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1241, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1241, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.1246, allocations: 427.2 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1246, allocations: 0 / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.1246, allocations: 8 kB / 476.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1246, allocations: 4 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1246, allocations: 0 / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1247, allocations: 3.984 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1247, allocations: 96 / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1249, allocations: 224.1 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.125, allocations: 89.02 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.125, allocations: 0 / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1251, allocations: 7.984 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1251, allocations: 8 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1251, allocations: 7.938 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.1252, allocations: 121.7 kB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1252, allocations: 0 / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1255, allocations: 39.89 kB / 476.8 MB, free: 6.461 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 (9): * Single equations (assignments): 7 * 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.001467/0.127, allocations: 1.131 MB / 477.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1272, allocations: 83.83 kB / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1272, allocations: 4.062 kB / 478 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.1273, allocations: 35.92 kB / 478 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1276, allocations: 26.94 kB / 478 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1293, allocations: 1.613 MB / 479.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1295, allocations: 0.7038 MB / 480.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.1296, allocations: 24.62 kB / 480.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1297, allocations: 39.59 kB / 480.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1297, allocations: 0 / 480.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.1535, allocations: 3.617 MB / 484 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.068, allocations: 19.98 kB / 484.1 MB, free: 15.31 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches