Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001068/0.001068, allocations: 102.9 kB / 16.27 MB, free: 5.969 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.001053/0.001053, allocations: 190 kB / 17.2 MB, free: 5.602 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.412/1.412, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2134/0.2134, allocations: 43.51 MB / 313.9 MB, free: 0.543 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.001609/0.001609, allocations: 64.7 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 57.8 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003658/0.1205, allocations: 1.689 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1218, allocations: 0.8 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.1219, allocations: 0 / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.1223, allocations: 47.77 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1226, allocations: 51.75 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1229, allocations: 87.77 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1231, allocations: 87.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1232, allocations: 24.14 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1234, allocations: 43.8 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.1235, allocations: 27.8 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1235, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1236, allocations: 43.97 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1237, allocations: 19.92 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.1237, allocations: 31.75 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.124, allocations: 111.7 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.124, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.124, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.124, allocations: 0 / 443.7 MB, free: 3.719 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.0005398/0.1245, allocations: 426.8 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1246, allocations: 11.89 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1246, allocations: 42.73 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1247, allocations: 12.75 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1249, allocations: 206.2 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1249, allocations: 384 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1249, allocations: 15.92 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1251, allocations: 49.67 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1251, allocations: 4 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1251, allocations: 8 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1251, allocations: 0 / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.1252, allocations: 23.92 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1256, allocations: 280.9 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1257, allocations: 62.61 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.1258, allocations: 24.84 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1258, allocations: 0 / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.126, allocations: 71.33 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1261, allocations: 0 / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.1266, allocations: 177.1 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1267, allocations: 51.41 kB / 445.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1268, allocations: 211.3 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1268, allocations: 25.7 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.1269, allocations: 108 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1269, allocations: 23.64 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.127, allocations: 25.72 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.127, allocations: 322.8 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.1271, allocations: 23.98 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.1272, allocations: 37.7 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.1273, allocations: 53.66 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1273, allocations: 4 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001509/0.1274, allocations: 97.58 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1274, allocations: 7.938 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1275, allocations: 7.938 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1275, allocations: 0 / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.1276, allocations: 16.03 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1276, allocations: 3.984 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.1276, allocations: 7.938 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1276, allocations: 8 kB / 446.1 MB, free: 1.074 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.17e-05/0.1277, allocations: 129 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1277, allocations: 11.81 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.1278, allocations: 17.41 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1278, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1278, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1278, allocations: 7.938 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1281, allocations: 395.7 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1282, allocations: 0 / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1282, allocations: 15.94 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1282, allocations: 3.938 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1282, allocations: 4 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1282, allocations: 192 / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1282, allocations: 0 / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.1284, allocations: 208.2 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.1285, allocations: 92.91 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.1285, allocations: 7.938 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.1286, allocations: 4 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1286, allocations: 7.984 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1286, allocations: 4 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1288, allocations: 155.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1288, allocations: 4 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1291, allocations: 24 kB / 447.2 MB, free: 15.9 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.001687/0.1308, allocations: 1.092 MB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.131, allocations: 55.92 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.131, allocations: 0 / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.1311, allocations: 36.05 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1314, allocations: 26.02 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1337, allocations: 1.667 MB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.1344, allocations: 0.708 MB / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.611e-05/0.1345, allocations: 13.19 kB / 450.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.1346, allocations: 39.36 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1346, allocations: 7.938 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1572, allocations: 3.355 MB / 454.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.95, allocations: 8 kB / 454.2 MB, free: 8.82 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_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_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches