Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 103.7 kB / 17.63 MB, free: 5.543 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: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, 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.2298/0.2298, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 78.84 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1344, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003654/0.1381, allocations: 1.726 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1405, allocations: 1.623 MB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1407, allocations: 4 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.141, allocations: 27.78 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.1414, allocations: 107.5 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1417, allocations: 83.66 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1419, allocations: 103.7 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1421, allocations: 8 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1422, allocations: 51.78 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1424, allocations: 55.64 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1424, allocations: 4 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.1427, allocations: 107.9 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1427, allocations: 11.94 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.1428, allocations: 39.73 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1432, allocations: 163.8 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1432, allocations: 7.938 kB / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1432, allocations: 0 / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1432, allocations: 0 / 484.3 MB, free: 1.07 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.0006376/0.1438, allocations: 435 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1439, allocations: 8.031 kB / 484.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1439, allocations: 30.75 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.144, allocations: 8.844 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1443, allocations: 216.3 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1443, allocations: 4 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1443, allocations: 4 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1445, allocations: 71.39 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1445, allocations: 0 / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1445, allocations: 3.984 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1446, allocations: 0 / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.1446, allocations: 19.98 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.145, allocations: 284.8 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1452, allocations: 66.66 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1453, allocations: 16.86 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1453, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1455, allocations: 71.33 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1456, allocations: 0 / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005789/0.1461, allocations: 177.2 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1462, allocations: 88.98 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1464, allocations: 158.5 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1464, allocations: 29.7 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.1465, allocations: 100.1 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1465, allocations: 27.64 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.1466, allocations: 25.66 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1467, allocations: 322.8 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.1467, allocations: 23.98 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.1468, allocations: 42.56 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1469, allocations: 61.72 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1469, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002622/0.1472, allocations: 101.6 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1472, allocations: 6.5 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1472, allocations: 4.438 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1473, allocations: 192 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.1474, allocations: 31.86 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1474, allocations: 7.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.1474, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1475, allocations: 4 kB / 486.7 MB, free: 14.41 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.0001104/0.1476, allocations: 117.8 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1476, allocations: 15.81 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.1477, allocations: 16.7 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1477, allocations: 7.938 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1477, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1477, allocations: 0 / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.1481, allocations: 391.3 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1482, allocations: 3.938 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1482, allocations: 11.98 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1482, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1482, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1482, allocations: 11.97 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1482, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1485, allocations: 200.3 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1485, allocations: 88.95 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1486, allocations: 3.984 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1487, allocations: 8 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1487, allocations: 4 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1487, allocations: 7.984 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1489, allocations: 130.3 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1489, allocations: 0 / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1492, allocations: 47.92 kB / 487.7 MB, free: 13.26 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.001706/0.1509, allocations: 1.18 MB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1511, allocations: 59.92 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1511, allocations: 7.875 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.1512, allocations: 35.98 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1516, allocations: 28.28 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.1532, allocations: 1.58 MB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1535, allocations: 0.6973 MB / 491.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.134e-05/0.1536, allocations: 16.88 kB / 491.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.1536, allocations: 31.42 kB / 491.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1536, allocations: 4 kB / 491.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/0.3117, allocations: 3.929 MB / 495.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.355, allocations: 7.062 kB / 495.3 MB, free: 5.809 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches