Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 76.59 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1216, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003529/0.1252, allocations: 1.738 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1269, allocations: 1.021 MB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.127, allocations: 0 / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1273, allocations: 47.77 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.1276, allocations: 95.53 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1279, allocations: 75.73 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1281, allocations: 107.6 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1282, allocations: 11.98 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.1283, allocations: 43.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.1284, allocations: 27.8 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1284, allocations: 11.98 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1286, allocations: 43.98 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.1286, allocations: 19.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.1287, allocations: 35.73 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1289, allocations: 119.9 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1289, allocations: 3.938 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1289, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1289, allocations: 0 / 483.5 MB, free: 1.773 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.0005058/0.1294, allocations: 426.9 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1295, allocations: 12.03 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1295, allocations: 30.75 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1296, allocations: 16.75 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1298, allocations: 212.1 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1298, allocations: 384 / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1299, allocations: 7.938 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.13, allocations: 57.61 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.13, allocations: 3.984 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.13, allocations: 3.984 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1301, allocations: 4 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.1301, allocations: 20 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1305, allocations: 288.9 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1307, allocations: 58.62 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.1307, allocations: 24.78 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1308, allocations: 4 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.131, allocations: 67.38 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.131, allocations: 0 / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.1315, allocations: 181 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1315, allocations: 51.41 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1318, allocations: 206.4 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1318, allocations: 37.69 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1319, allocations: 96.14 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1319, allocations: 23.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.132, allocations: 29.66 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1321, allocations: 322.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.1322, allocations: 23.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.1322, allocations: 37.64 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1323, allocations: 57.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1324, allocations: 384 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.1326, allocations: 109.3 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1326, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1326, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1326, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.1327, allocations: 19.98 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1327, allocations: 160 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1328, allocations: 15.91 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.1328, allocations: 7.984 kB / 485.9 MB, free: 15.11 MB / 366.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.721e-05/0.1329, allocations: 129.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1329, allocations: 11.91 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.133, allocations: 17.39 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.133, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.133, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.133, allocations: 3.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.1334, allocations: 403.2 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1335, allocations: 0 / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1335, allocations: 11.98 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.1335, allocations: 3.938 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1335, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1335, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1335, allocations: 192 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1338, allocations: 200.3 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1338, allocations: 96.86 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1339, allocations: 7.922 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1339, allocations: 4 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.134, allocations: 0 / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.134, allocations: 11.98 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1341, allocations: 160.8 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1341, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1344, allocations: 20 kB / 487 MB, free: 13.93 MB / 366.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.001414/0.1358, allocations: 1.091 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.136, allocations: 59.97 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.136, allocations: 0 / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.111e-05/0.1361, allocations: 31.92 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1365, allocations: 35.27 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1382, allocations: 1.693 MB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1385, allocations: 0.7119 MB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.1385, allocations: 12.55 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1386, allocations: 35.42 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1386, allocations: 0 / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.1576, allocations: 3.415 MB / 494.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.139, allocations: 3.938 kB / 494.1 MB, free: 6.945 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches