Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.001475/0.001476, allocations: 107.5 kB / 16.27 MB, free: 6.41 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.001349/0.001349, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.676/1.676, 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.2321/0.2321, 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.001625/0.001625, allocations: 74.38 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1209, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003347/0.1243, allocations: 1.686 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1261, allocations: 1.406 MB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1262, allocations: 0 / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.1266, allocations: 43.77 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1269, allocations: 59.7 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1272, allocations: 83.38 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1274, allocations: 99.69 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1275, allocations: 12.17 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.1276, allocations: 47.78 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1278, allocations: 43.36 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1278, allocations: 4 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.128, allocations: 59.97 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.128, allocations: 27.84 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1281, allocations: 23.81 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1283, allocations: 115.7 kB / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1283, allocations: 0 / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1283, allocations: 3.938 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1283, allocations: 4 kB / 444.3 MB, free: 3.059 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.0005319/0.1289, allocations: 403 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1289, allocations: 15.89 kB / 444.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.129, allocations: 34.73 kB / 444.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.129, allocations: 8.844 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1292, allocations: 209.3 kB / 445 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1292, allocations: 4.375 kB / 445 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1293, allocations: 3.938 kB / 445 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1294, allocations: 71.39 kB / 445.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1294, allocations: 0 / 445.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1295, allocations: 0 / 445.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1295, allocations: 7.938 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.1295, allocations: 23.98 kB / 445.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1299, allocations: 284.8 kB / 445.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.13, allocations: 62.67 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.1301, allocations: 16.86 kB / 445.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1301, allocations: 3.938 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.1303, allocations: 75.31 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1304, allocations: 0 / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005359/0.1309, allocations: 169.4 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.131, allocations: 85.05 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1311, allocations: 160.8 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1311, allocations: 25.7 kB / 446 MB, free: 1.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1311, allocations: 100.1 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1312, allocations: 27.64 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1312, allocations: 25.7 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.1313, allocations: 314.8 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.1313, allocations: 23.98 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.1314, allocations: 46.56 kB / 446.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.1315, allocations: 61.7 kB / 446.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1315, allocations: 0 / 446.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001643/0.1317, allocations: 97.5 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1317, allocations: 8 kB / 446.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1317, allocations: 0 / 446.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1317, allocations: 4.062 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.1318, allocations: 23.92 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1319, allocations: 0 / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1319, allocations: 3.938 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1319, allocations: 4 kB / 446.7 MB, free: 456 kB / 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.244e-05/0.132, allocations: 129.8 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.132, allocations: 7.906 kB / 446.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.1321, allocations: 12.72 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1321, allocations: 0 / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1321, allocations: 4 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1321, allocations: 3.938 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1325, allocations: 391.4 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1326, allocations: 384 / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.1326, allocations: 8.188 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1326, allocations: 3.938 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1326, allocations: 11.94 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1326, allocations: 3.984 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1327, allocations: 7.969 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1329, allocations: 204.1 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.1329, allocations: 85.02 kB / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.133, allocations: 3.938 kB / 447.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1331, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1331, allocations: 15.98 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1331, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.1332, allocations: 115.2 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 0 / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1335, allocations: 28 kB / 447.7 MB, free: 15.31 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.001506/0.135, allocations: 1.13 MB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1353, allocations: 71.83 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1353, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.1354, allocations: 35.92 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1357, allocations: 22.02 kB / 449 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1376, allocations: 1.543 MB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1379, allocations: 0.6964 MB / 451.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.026e-05/0.138, allocations: 29.33 kB / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.138, allocations: 31.42 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.138, allocations: 0 / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.1603, allocations: 3.466 MB / 454.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.626, allocations: 7.875 kB / 454.7 MB, free: 8.191 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches