Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 83.38 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1251, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003754/0.1289, allocations: 1.732 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1308, allocations: 1.021 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1309, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.1314, allocations: 55.75 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1318, allocations: 87.61 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1321, allocations: 79.67 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1323, allocations: 107.6 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1324, allocations: 19.98 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1326, allocations: 39.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1327, allocations: 31.78 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1327, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1328, allocations: 47.97 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.1329, allocations: 19.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.133, allocations: 43.69 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1332, allocations: 119.9 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1332, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.1332, allocations: 4 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1333, allocations: 3.938 kB / 483.5 MB, free: 1.762 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.0006415/0.1339, allocations: 438.8 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.134, allocations: 8.031 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.134, allocations: 30.75 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.1341, allocations: 12.84 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1344, allocations: 217.6 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1344, allocations: 384 / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1344, allocations: 7.938 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1346, allocations: 61.61 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1346, allocations: 0 / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1346, allocations: 3.984 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1346, allocations: 0 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.1347, allocations: 16 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.1351, allocations: 304.7 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1353, allocations: 62.61 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.1354, allocations: 16.86 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1354, allocations: 4 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1356, allocations: 63.39 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1356, allocations: 0 / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.1362, allocations: 185.1 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1363, allocations: 51.41 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1365, allocations: 242 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1365, allocations: 25.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1366, allocations: 108.1 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1367, allocations: 27.64 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1367, allocations: 25.72 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1368, allocations: 326.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.1369, allocations: 24 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.1369, allocations: 41.58 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1371, allocations: 57.7 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1371, allocations: 384 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1373, allocations: 109.5 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1373, allocations: 4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1373, allocations: 8.031 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1373, allocations: 7.984 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.1374, allocations: 12 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1374, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.1375, allocations: 7.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1375, allocations: 11.98 kB / 486 MB, free: 15.04 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.514e-05/0.1376, allocations: 129.8 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.1376, allocations: 7.906 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1377, allocations: 25.39 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1377, allocations: 4 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1377, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1377, allocations: 3.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.1382, allocations: 403.2 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1382, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.1382, allocations: 8 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/0.1382, allocations: 3.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1383, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1383, allocations: 8.016 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1383, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1385, allocations: 196.3 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.1386, allocations: 88.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1386, allocations: 15.88 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.18e-05/0.1387, allocations: 0 / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1387, allocations: 11.98 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1388, allocations: 4.188 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1389, allocations: 176.4 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1389, allocations: 3.938 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1392, allocations: 28 kB / 487.1 MB, free: 13.84 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.001644/0.1408, allocations: 1.093 MB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1411, allocations: 59.92 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1411, allocations: 4.062 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1412, allocations: 36.06 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1416, allocations: 23.98 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.1441, allocations: 1.735 MB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.1445, allocations: 0.7117 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.851e-05/0.1446, allocations: 16.88 kB / 490.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.1447, allocations: 43.42 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1447, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.1659, allocations: 3.533 MB / 494.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.52, allocations: 19.78 kB / 494.4 MB, free: 6.668 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_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_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches