Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001545/0.001545, allocations: 103.9 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.001774/0.001774, 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.412/1.412, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2408/0.2408, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 69.3 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1201, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003118/0.1232, allocations: 1.7 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1253, allocations: 1.471 MB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.1254, allocations: 7.938 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1257, allocations: 39.83 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1259, allocations: 59.69 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1262, allocations: 107.6 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1264, allocations: 103.7 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.1265, allocations: 12.23 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.1266, allocations: 39.8 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1268, allocations: 39.83 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1268, allocations: 4 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1269, allocations: 59.92 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.127, allocations: 19.91 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.127, allocations: 35.73 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1273, allocations: 116 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1273, allocations: 3.938 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1273, allocations: 0 / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1273, allocations: 0 / 473.2 MB, free: 10.42 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.0006184/0.1279, allocations: 403.2 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.128, allocations: 16.03 kB / 473.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.128, allocations: 30.75 kB / 473.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.1281, allocations: 12.84 kB / 473.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1283, allocations: 204.1 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1284, allocations: 8.312 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1284, allocations: 11.92 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1286, allocations: 67.39 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1286, allocations: 0 / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1286, allocations: 4 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.1286, allocations: 0 / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.1287, allocations: 19.98 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1291, allocations: 284.9 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1292, allocations: 62.61 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1293, allocations: 28.78 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1293, allocations: 0 / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.1296, allocations: 67.39 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1296, allocations: 0 / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005255/0.1301, allocations: 169.1 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1302, allocations: 81.11 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1303, allocations: 156.2 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1303, allocations: 29.7 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.1304, allocations: 96.12 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1304, allocations: 31.58 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1305, allocations: 21.7 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.1306, allocations: 322.8 kB / 475.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.1306, allocations: 20 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.1307, allocations: 46.56 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1308, allocations: 57.78 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1308, allocations: 192 / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.131, allocations: 101.5 kB / 475.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.131, allocations: 11.94 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1311, allocations: 0 / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1311, allocations: 0 / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.1312, allocations: 20 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1312, allocations: 4 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.1312, allocations: 11.92 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1313, allocations: 4 kB / 475.5 MB, free: 7.809 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.0001005/0.1314, allocations: 113.8 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1314, allocations: 11.91 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.1314, allocations: 12.7 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1315, allocations: 4 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1315, allocations: 0 / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1315, allocations: 7.938 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.1319, allocations: 387.3 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.132, allocations: 0 / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.132, allocations: 12.36 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.132, allocations: 3.938 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.132, allocations: 8 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.132, allocations: 0 / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.132, allocations: 3.938 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1323, allocations: 212.2 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1323, allocations: 85.02 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1324, allocations: 3.938 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1325, allocations: 11.98 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1325, allocations: 4 kB / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1326, allocations: 0 / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.212e-05/0.1327, allocations: 123.2 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1327, allocations: 0 / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.133, allocations: 31.98 kB / 476.5 MB, free: 6.684 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.00151/0.1345, allocations: 1.13 MB / 477.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1347, allocations: 67.91 kB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1347, allocations: 0 / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.1348, allocations: 23.98 kB / 477.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1351, allocations: 31.08 kB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1368, allocations: 1.546 MB / 479.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.137, allocations: 0.6934 MB / 480 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.1371, allocations: 25.33 kB / 480.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.1372, allocations: 39.3 kB / 480.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1372, allocations: 0 / 480.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.1599, allocations: 3.47 MB / 483.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.611, allocations: 10.27 kB / 483.6 MB, free: 15.79 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches