Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.001647/0.001647, allocations: 101.1 kB / 16.26 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.001894/0.001894, allocations: 190.9 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.476/1.476, 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.222/0.222, allocations: 43.51 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.001652/0.001652, allocations: 74.92 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00391/0.1205, allocations: 1.682 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1219, allocations: 0.8117 MB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1221, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1225, allocations: 51.75 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1228, allocations: 55.75 kB / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1232, allocations: 95.7 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1234, allocations: 87.7 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1236, allocations: 20.16 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1237, allocations: 43.78 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.1238, allocations: 23.86 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1238, allocations: 4 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1239, allocations: 39.98 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.124, allocations: 27.91 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.1241, allocations: 47.67 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1243, allocations: 127.6 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1243, allocations: 0 / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1243, allocations: 0 / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1243, allocations: 0 / 443.7 MB, free: 3.656 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.0004868/0.1248, allocations: 446.6 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1249, allocations: 11.89 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.639e-05/0.1249, allocations: 30.75 kB / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1249, allocations: 16.75 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1251, allocations: 227.5 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1252, allocations: 4.375 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1252, allocations: 3.938 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1253, allocations: 57.61 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1254, allocations: 4 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1254, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1254, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.1254, allocations: 19.98 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.1257, allocations: 304.8 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1259, allocations: 62.61 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.126, allocations: 20.84 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.126, allocations: 3.938 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1262, allocations: 71.39 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1262, allocations: 0 / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.1268, allocations: 181.1 kB / 445.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1268, allocations: 51.41 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.127, allocations: 259.7 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.127, allocations: 29.7 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1271, allocations: 116 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1271, allocations: 23.66 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.1272, allocations: 29.7 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.1272, allocations: 326.8 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.1273, allocations: 19.98 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.1274, allocations: 37.64 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1275, allocations: 57.66 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1275, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.1277, allocations: 105.5 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1277, allocations: 8 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1277, allocations: 0 / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1277, allocations: 0 / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.1278, allocations: 15.98 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1278, allocations: 4 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.1279, allocations: 11.84 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1279, allocations: 4 kB / 446.3 MB, free: 0.8906 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 7.573e-05/0.128, allocations: 145.7 kB / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.128, allocations: 7.906 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.128, allocations: 21.39 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1281, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1281, allocations: 4 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1281, allocations: 3.938 kB / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1284, allocations: 407.2 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1284, allocations: 0 / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1285, allocations: 12.41 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1285, allocations: 3.938 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1285, allocations: 0 / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1285, allocations: 8 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1285, allocations: 0 / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1287, allocations: 208.4 kB / 447.1 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1287, allocations: 89 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1288, allocations: 15.88 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.1289, allocations: 0 / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1289, allocations: 11.92 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1289, allocations: 4 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.1291, allocations: 195.3 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 0 / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1293, allocations: 27.98 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.0015/0.1309, allocations: 1.111 MB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1311, allocations: 55.97 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1311, allocations: 3.938 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1312, allocations: 27.98 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.0003685/0.1315, allocations: 31.2 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.001792/0.1333, allocations: 1.795 MB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1336, allocations: 0.7311 MB / 451.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1337, allocations: 21.17 kB / 451.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.1338, allocations: 39.42 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1338, allocations: 0 / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1547, allocations: 3.629 MB / 454.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.879, allocations: 15.86 kB / 454.8 MB, free: 8.125 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches