Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 103.8 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.00186/0.00186, 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.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 78.91 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 62.45 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004374/0.1211, allocations: 1.724 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1235, allocations: 1.025 MB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1237, allocations: 0 / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.1241, allocations: 51.75 kB / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.1246, allocations: 103.6 kB / 483 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1249, allocations: 75.67 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1251, allocations: 111.6 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1253, allocations: 8 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1254, allocations: 39.8 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1255, allocations: 35.78 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1255, allocations: 8 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1257, allocations: 43.98 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.1258, allocations: 27.91 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.1259, allocations: 43.67 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.1262, allocations: 135.8 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1262, allocations: 0 / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1262, allocations: 3.938 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1262, allocations: 0 / 483.6 MB, free: 1.707 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.0007755/0.127, allocations: 442.7 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.1271, allocations: 12.03 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.1271, allocations: 38.73 kB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.1272, allocations: 16.75 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1275, allocations: 217 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1276, allocations: 4.375 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1276, allocations: 3.938 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1278, allocations: 57.61 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1279, allocations: 0 / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1279, allocations: 4 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1279, allocations: 0 / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.128, allocations: 19.98 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.1286, allocations: 296.9 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1288, allocations: 58.62 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.1289, allocations: 20.84 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1289, allocations: 4 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1292, allocations: 67.39 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1292, allocations: 3.938 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000722/0.13, allocations: 188.9 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.13, allocations: 51.41 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.1304, allocations: 270.9 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1305, allocations: 33.7 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.1306, allocations: 112.1 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1306, allocations: 27.64 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1308, allocations: 25.66 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.131, allocations: 330.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.131, allocations: 16 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.772e-05/0.1312, allocations: 37.64 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1313, allocations: 65.7 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1313, allocations: 384 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002782/0.1316, allocations: 113.5 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1317, allocations: 4 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1317, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1317, allocations: 8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1318, allocations: 12 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1318, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.1319, allocations: 11.92 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.132, allocations: 4.031 kB / 486.1 MB, free: 14.93 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 0.0001493/0.1321, allocations: 137.8 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.1322, allocations: 15.81 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.1322, allocations: 25.39 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1322, allocations: 3.984 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1323, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1323, allocations: 3.938 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.1329, allocations: 411.2 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1329, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.133, allocations: 8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.133, allocations: 3.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.133, allocations: 8 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.133, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.133, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.1334, allocations: 208.2 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.1335, allocations: 92.95 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.1336, allocations: 11.88 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1338, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1338, allocations: 7.984 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1339, allocations: 4 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.1341, allocations: 208.4 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1342, allocations: 0 / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.1347, allocations: 31.98 kB / 487.2 MB, free: 13.67 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.002509/0.1372, allocations: 1.093 MB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1374, allocations: 55.97 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1375, allocations: 0 / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1376, allocations: 40.06 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1381, allocations: 32.06 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.1409, allocations: 1.829 MB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1413, allocations: 0.7157 MB / 491 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.1414, allocations: 12.88 kB / 491 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1415, allocations: 47.41 kB / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1415, allocations: 0 / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1686, allocations: 3.708 MB / 494.8 MB, free: 6.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.127, allocations: 14.88 kB / 494.8 MB, free: 6.219 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_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_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches