Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, 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 trunk/package.mo): time 0.001179/0.001179, allocations: 216.5 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.363/1.363, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 85.64 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003456/0.1343, allocations: 1.755 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1363, allocations: 1.025 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1365, allocations: 4 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.1369, allocations: 87.69 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.1374, allocations: 119.5 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1378, allocations: 79.72 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.138, allocations: 131.6 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1382, allocations: 8 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1383, allocations: 55.77 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1385, allocations: 71.75 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1385, allocations: 4 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1387, allocations: 55.97 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.1388, allocations: 23.92 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.567e-05/0.1389, allocations: 47.67 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1392, allocations: 143.8 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1392, allocations: 0 / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1392, allocations: 0 / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1392, allocations: 0 / 483.7 MB, free: 1.562 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006632/0.1399, allocations: 442.8 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1399, allocations: 8.031 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.14, allocations: 34.75 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.14, allocations: 12.84 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1403, allocations: 221.5 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1403, allocations: 8.375 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1404, allocations: 7.938 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1406, allocations: 57.61 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1406, allocations: 0 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1406, allocations: 11.98 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1406, allocations: 0 / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.1407, allocations: 23.98 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.1413, allocations: 300.7 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.1416, allocations: 66.48 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.1417, allocations: 20.98 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1418, allocations: 4 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.142, allocations: 71.44 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.142, allocations: 0 / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001012/0.1431, allocations: 240.9 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.1431, allocations: 55.34 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1434, allocations: 246.1 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.1434, allocations: 33.64 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.1435, allocations: 104.1 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.1436, allocations: 35.5 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.1437, allocations: 33.7 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1438, allocations: 326.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.1439, allocations: 31.98 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.144, allocations: 45.7 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1442, allocations: 81.75 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1442, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002614/0.1445, allocations: 137.4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1445, allocations: 8 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.1445, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1445, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.1446, allocations: 31.86 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1446, allocations: 4.031 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.1447, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1447, allocations: 8 kB / 486.4 MB, free: 14.66 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 (13): * Single equations (assignments): 13 * 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.0001249/0.1449, allocations: 133.8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.1449, allocations: 15.81 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.145, allocations: 22.09 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.145, allocations: 3.938 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.145, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.145, allocations: 4 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.1455, allocations: 459.9 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1456, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.1456, allocations: 12 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1456, allocations: 0 / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1456, allocations: 3.984 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.1457, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1457, allocations: 8 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.146, allocations: 229 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.146, allocations: 88.92 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1461, allocations: 7.984 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.1461, allocations: 8 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.1462, allocations: 11.98 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1462, allocations: 4 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1464, allocations: 176.5 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1464, allocations: 3.938 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1467, allocations: 31.98 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.0019/0.1486, allocations: 1.172 MB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1488, allocations: 75.91 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1489, allocations: 0 / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.149, allocations: 43.92 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1494, allocations: 47.25 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.1521, allocations: 1.824 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.1526, allocations: 0.7195 MB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.564e-05/0.1527, allocations: 24.62 kB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.1528, allocations: 51.41 kB / 491.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1528, allocations: 3.938 kB / 491.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.177, allocations: 3.861 MB / 495.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.303, allocations: 7.109 kB / 495.4 MB, free: 5.633 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches