Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.001101/0.001101, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00106/0.00106, allocations: 192 kB / 18.55 MB, free: 4.566 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.467/1.467, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2994/0.2994, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.39 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003716/0.1245, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1259, allocations: 0.8808 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.126, allocations: 4 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.1264, allocations: 39.75 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1267, allocations: 51.77 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1271, allocations: 115.1 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1273, allocations: 99.64 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1274, allocations: 12.22 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.1275, allocations: 35.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.1276, allocations: 35.84 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1276, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1277, allocations: 47.97 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.1278, allocations: 19.86 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1279, allocations: 35.75 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1281, allocations: 115.9 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1281, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1281, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1281, allocations: 0 / 472.6 MB, free: 11.05 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.0005321/0.1286, allocations: 414.9 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1287, allocations: 12.03 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.1287, allocations: 38.73 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1288, allocations: 8.844 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.129, allocations: 218.6 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.129, allocations: 384 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1291, allocations: 7.938 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1292, allocations: 53.67 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1292, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1292, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1292, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.1293, allocations: 23.98 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.1297, allocations: 296.7 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1299, allocations: 50.67 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.1299, allocations: 28.84 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.13, allocations: 0 / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1301, allocations: 67.39 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.1302, allocations: 0 / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005185/0.1307, allocations: 177.1 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1307, allocations: 51.41 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1309, allocations: 203.2 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1309, allocations: 29.7 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.131, allocations: 104.1 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1311, allocations: 23.7 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1311, allocations: 25.72 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1312, allocations: 322.8 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.1313, allocations: 23.98 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.1314, allocations: 41.64 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1315, allocations: 53.7 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1315, allocations: 0 / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.1317, allocations: 105.4 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1317, allocations: 8 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1317, allocations: 0 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1317, allocations: 3.938 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.1318, allocations: 19.92 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1318, allocations: 4 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1319, allocations: 3.938 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1319, allocations: 4 kB / 474.9 MB, free: 8.426 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.0001303/0.132, allocations: 136.6 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.132, allocations: 11.91 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1321, allocations: 17.39 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.1321, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1321, allocations: 4 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1321, allocations: 3.938 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.1326, allocations: 387.7 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1326, allocations: 4 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1326, allocations: 16.03 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1327, allocations: 3.938 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1327, allocations: 3.984 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1327, allocations: 0 / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1327, allocations: 4 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1329, allocations: 208.4 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.133, allocations: 85.02 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.133, allocations: 11.94 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1331, allocations: 3.984 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1331, allocations: 7.984 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1332, allocations: 4 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1333, allocations: 151.9 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1333, allocations: 0 / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1336, allocations: 27.98 kB / 476 MB, free: 7.254 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.001474/0.135, allocations: 1.093 MB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1352, allocations: 63.91 kB / 477.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1352, allocations: 0 / 477.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.1353, allocations: 27.94 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1357, allocations: 31.91 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1374, allocations: 1.652 MB / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1378, allocations: 0.708 MB / 479.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.1378, allocations: 21.17 kB / 479.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.1379, allocations: 35.42 kB / 479.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.635e-06/0.1379, allocations: 0 / 479.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.1576, allocations: 3.349 MB / 483 MB, free: 408 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.731, allocations: 7.938 kB / 483 MB, free: 400 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches