Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001516/0.001516, allocations: 104 kB / 17.63 MB, free: 5.523 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.001918/0.001918, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.396/1.396, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2247/0.2247, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.3 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003305/0.1254, allocations: 1.7 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1269, allocations: 0.8769 MB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.127, allocations: 4 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1273, allocations: 39.7 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1275, allocations: 55.77 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1279, allocations: 118.2 kB / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.128, allocations: 91.7 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1282, allocations: 8.234 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.1282, allocations: 43.78 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.1283, allocations: 27.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1284, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1285, allocations: 43.98 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.1285, allocations: 19.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.1286, allocations: 43.67 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1288, allocations: 115.9 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1288, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1288, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1289, allocations: 0 / 472.5 MB, free: 11.08 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.000545/0.1294, allocations: 403 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1294, allocations: 8.031 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1295, allocations: 38.75 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1295, allocations: 12.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1298, allocations: 208.1 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1298, allocations: 8.312 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1298, allocations: 3.938 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.13, allocations: 57.67 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.13, allocations: 0 / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.13, allocations: 0 / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.13, allocations: 0 / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.1301, allocations: 19.98 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.1305, allocations: 284.9 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1307, allocations: 66.55 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.1308, allocations: 16.86 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1308, allocations: 3.984 kB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.131, allocations: 71.39 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.131, allocations: 0 / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005893/0.1316, allocations: 169.5 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1317, allocations: 51.41 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1319, allocations: 194.1 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.132, allocations: 25.7 kB / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.132, allocations: 104.1 kB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.1321, allocations: 19.72 kB / 474.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1321, allocations: 33.7 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1322, allocations: 322.8 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.1323, allocations: 20 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.1324, allocations: 45.64 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1325, allocations: 53.78 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1325, allocations: 0 / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1327, allocations: 121.4 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1327, allocations: 4 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1327, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1327, allocations: 3.984 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1328, allocations: 16 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1328, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.1329, allocations: 7.922 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1329, allocations: 7.938 kB / 474.9 MB, free: 8.484 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 9.962e-05/0.133, allocations: 125.9 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.133, allocations: 11.91 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.1331, allocations: 16.7 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1331, allocations: 0 / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1331, allocations: 0 / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1331, allocations: 3.938 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1336, allocations: 391.3 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1336, allocations: 0 / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.1336, allocations: 12.03 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1336, allocations: 7.922 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1336, allocations: 4 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1336, allocations: 3.938 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1337, allocations: 0 / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1339, allocations: 204.1 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.1339, allocations: 89.02 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.134, allocations: 3.938 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.134, allocations: 7.984 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1341, allocations: 8 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1341, allocations: 0 / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1342, allocations: 147.2 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1342, allocations: 0 / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1345, allocations: 24 kB / 475.9 MB, free: 7.336 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.001504/0.136, allocations: 1.102 MB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1362, allocations: 67.89 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1362, allocations: 0 / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.1363, allocations: 27.98 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1367, allocations: 34.77 kB / 477.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1386, allocations: 1.627 MB / 478.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.139, allocations: 0.708 MB / 479.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.1391, allocations: 12.88 kB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.1391, allocations: 31.42 kB / 479.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1391, allocations: 3.938 kB / 479.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.1619, allocations: 3.285 MB / 482.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.535, allocations: 13.88 kB / 482.8 MB, free: 0.5508 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_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_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches