Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.001669/0.001669, allocations: 104.5 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.002053/0.002053, 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.469/1.469, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2072/0.2072, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.81 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003229/0.1203, allocations: 1.704 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1219, allocations: 0.8769 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.122, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1223, allocations: 35.78 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1226, allocations: 63.73 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1229, allocations: 103.6 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1231, allocations: 99.69 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.1232, allocations: 4.234 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.1232, allocations: 43.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.1233, allocations: 27.86 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1233, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1234, allocations: 43.92 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1235, allocations: 27.91 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.1236, allocations: 31.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1237, allocations: 115.9 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1238, allocations: 3.938 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1238, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1238, allocations: 0 / 472.5 MB, free: 11.07 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.0004887/0.1243, allocations: 406 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1243, allocations: 12.03 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.1244, allocations: 34.75 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1244, allocations: 16.75 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1246, allocations: 208 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1246, allocations: 4.375 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1247, allocations: 7.938 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1248, allocations: 57.67 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1249, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1249, allocations: 3.984 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1249, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.125, allocations: 16 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1253, allocations: 296.8 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1255, allocations: 54.69 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.1256, allocations: 20.84 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1256, allocations: 4 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1258, allocations: 75.27 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1258, allocations: 0 / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005252/0.1264, allocations: 165.3 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1264, allocations: 55.34 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1266, allocations: 190.1 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1266, allocations: 29.69 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1267, allocations: 100.1 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1267, allocations: 27.7 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1268, allocations: 25.72 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.1269, allocations: 322.8 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.1269, allocations: 23.98 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.127, allocations: 33.7 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1271, allocations: 57.64 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1271, allocations: 7.984 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1273, allocations: 101.5 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1273, allocations: 4 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1273, allocations: 0 / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1274, allocations: 4.188 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.1275, allocations: 19.92 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1275, allocations: 8.078 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.1275, allocations: 7.938 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1275, allocations: 0 / 474.9 MB, free: 8.48 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.789e-05/0.1276, allocations: 137.8 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.1277, allocations: 7.906 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1277, allocations: 12.72 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1277, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1277, allocations: 4.375 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1277, allocations: 7.922 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.1282, allocations: 395.3 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1282, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.1282, allocations: 8 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1282, allocations: 3.938 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1282, allocations: 4 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1282, allocations: 0 / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1282, allocations: 3.938 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1285, allocations: 204.2 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1285, allocations: 92.94 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1286, allocations: 7.938 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1286, allocations: 0 / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.1287, allocations: 11.98 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1287, allocations: 4 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.983e-05/0.1288, allocations: 139.2 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1288, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1291, allocations: 27.98 kB / 475.9 MB, free: 7.32 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.001391/0.1305, allocations: 1.101 MB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1307, allocations: 63.91 kB / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1307, allocations: 0 / 477.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.1308, allocations: 31.92 kB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1311, allocations: 31.94 kB / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1327, allocations: 1.627 MB / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.133, allocations: 0.708 MB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.133, allocations: 12.88 kB / 479.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.1331, allocations: 31.42 kB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1331, allocations: 0 / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.1522, allocations: 3.294 MB / 482.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.613, allocations: 20.97 kB / 482.9 MB, free: 0.5273 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_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_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches