Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, 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.001458/0.001458, 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.414/1.414, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 81.03 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1277, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003252/0.131, allocations: 1.836 MB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1328, allocations: 1.095 MB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.133, allocations: 0 / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.1336, allocations: 299.3 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.1342, allocations: 255.2 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.1347, allocations: 111.6 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.1352, allocations: 251.4 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.1352, allocations: 17.66 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1356, allocations: 127.5 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.136, allocations: 192 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.136, allocations: 8 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.1362, allocations: 55.91 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1365, allocations: 128.5 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.1367, allocations: 142.8 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.1373, allocations: 371 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1374, allocations: 0 / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1374, allocations: 0 / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.1374, allocations: 0 / 485 MB, free: 300 kB / 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.001481/0.1389, allocations: 0.7268 MB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.139, allocations: 12.03 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.139, allocations: 34.75 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1392, allocations: 56.27 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.1401, allocations: 443.8 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1401, allocations: 8.359 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1402, allocations: 7.938 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1405, allocations: 83.31 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1405, allocations: 0 / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1405, allocations: 3.984 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.852e-05/0.1406, allocations: 4 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1407, allocations: 27.98 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1412, allocations: 374.4 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1415, allocations: 109.1 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.1416, allocations: 41.7 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1416, allocations: 0 / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.1419, allocations: 112.9 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1419, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004855/0.1424, allocations: 196.9 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1425, allocations: 81.11 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1436, allocations: 1.026 MB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1436, allocations: 33.64 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1438, allocations: 232.1 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.1438, allocations: 35.62 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.1439, allocations: 29.72 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.144, allocations: 362.8 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.1441, allocations: 35.98 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.1442, allocations: 59.34 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1444, allocations: 91.86 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1444, allocations: 3.938 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.1447, allocations: 168.9 kB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1448, allocations: 8 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1448, allocations: 3.984 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1448, allocations: 0 / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1449, allocations: 27.98 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1449, allocations: 3.938 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.145, allocations: 7.906 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1451, allocations: 4 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001994/0.1453, allocations: 229.8 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.1453, allocations: 43.44 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.1454, allocations: 60.09 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1454, allocations: 0 / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1454, allocations: 4 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1455, allocations: 0 / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.1457, allocations: 345.2 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1457, allocations: 4 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.1458, allocations: 7.984 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1458, allocations: 4 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1458, allocations: 8 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1458, allocations: 8.062 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1458, allocations: 0 / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.1461, allocations: 205.2 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1463, allocations: 132.6 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.1463, allocations: 7.922 kB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.1464, allocations: 12 kB / 490.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1465, allocations: 7.984 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1465, allocations: 4 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007296/0.1472, allocations: 0.7682 MB / 491.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1472, allocations: 0 / 491.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1475, allocations: 40 kB / 491.2 MB, free: 9.625 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00142/0.1489, allocations: 1.052 MB / 492.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1492, allocations: 79.91 kB / 492.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1492, allocations: 0 / 492.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1494, allocations: 39.92 kB / 492.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1498, allocations: 76.12 kB / 492.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/0.1555, allocations: 4.589 MB / 497.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.156, allocations: 0.8388 MB / 497.9 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1561, allocations: 58.89 kB / 498 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.1563, allocations: 143.4 kB / 498.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1563, allocations: 7.938 kB / 498.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.1859, allocations: 8.745 MB / 0.495 GB, free: 10.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.208, allocations: 20.44 kB / 0.495 GB, free: 10.04 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime