Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001957, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 77.5 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 62.46 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003907/0.1273, allocations: 2.358 MB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1299, allocations: 1.392 MB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.1302, allocations: 7.938 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.1309, allocations: 283 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007762/0.1317, allocations: 334.6 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.1323, allocations: 227.4 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.1329, allocations: 0.5491 MB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1331, allocations: 57.06 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1334, allocations: 235.1 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1337, allocations: 274.9 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.1337, allocations: 20 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1339, allocations: 55.98 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.134, allocations: 111.5 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1342, allocations: 186.6 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.1347, allocations: 414.6 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1347, allocations: 0 / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1347, allocations: 4 kB / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1347, allocations: 0 / 486.6 MB, free: 14.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00117/0.1359, allocations: 0.7901 MB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1359, allocations: 8.031 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.136, allocations: 46.73 kB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.1361, allocations: 56.28 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.1367, allocations: 419.7 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1367, allocations: 8.375 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1367, allocations: 19.94 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1371, allocations: 213.8 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1372, allocations: 0 / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1372, allocations: 8 kB / 488.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1372, allocations: 4 kB / 488.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.1375, allocations: 103.9 kB / 488.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.1384, allocations: 0.8604 MB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.139, allocations: 297.2 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1392, allocations: 92.25 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1392, allocations: 19.86 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.1398, allocations: 223.4 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.1398, allocations: 0 / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002075/0.1419, allocations: 1.004 MB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.142, allocations: 170.2 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.1427, allocations: 0.6591 MB / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1427, allocations: 37.7 kB / 491.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1429, allocations: 229.1 kB / 491.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1431, allocations: 130.3 kB / 492 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.1432, allocations: 70.14 kB / 492 MB, free: 8.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.1434, allocations: 370.8 kB / 492.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1436, allocations: 104.9 kB / 492.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.1439, allocations: 184.9 kB / 492.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.1444, allocations: 304.8 kB / 493 MB, free: 7.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1444, allocations: 0 / 493 MB, free: 7.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006868/0.1451, allocations: 404.8 kB / 493.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1451, allocations: 8 kB / 493.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1451, allocations: 0 / 493.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1452, allocations: 8.156 kB / 493.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.1455, allocations: 87.89 kB / 493.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1455, allocations: 4 kB / 493.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.1457, allocations: 15.98 kB / 493.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.1457, allocations: 16 kB / 493.5 MB, free: 7.336 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002162/0.1459, allocations: 216.2 kB / 493.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.146, allocations: 59.25 kB / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1461, allocations: 72.39 kB / 493.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1462, allocations: 8 kB / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1462, allocations: 0 / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1462, allocations: 3.984 kB / 493.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1476, allocations: 1.288 MB / 495.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1476, allocations: 0 / 495.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1478, allocations: 47.92 kB / 495.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1478, allocations: 4 kB / 495.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.1478, allocations: 19.92 kB / 495.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1478, allocations: 8.156 kB / 495.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1478, allocations: 7.938 kB / 495.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.1487, allocations: 0.8089 MB / 496 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1488, allocations: 124.4 kB / 496.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.1489, allocations: 19.94 kB / 496.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.1492, allocations: 15.98 kB / 496.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.1493, allocations: 43.89 kB / 496.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.1494, allocations: 19.98 kB / 496.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004924/0.1499, allocations: 490.7 kB / 496.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1499, allocations: 4 kB / 496.7 MB, free: 3.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.1504, allocations: 83.98 kB / 496.8 MB, free: 3.879 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002172/0.1526, allocations: 1.722 MB / 498.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.1533, allocations: 311.6 kB / 498.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1534, allocations: 3.938 kB / 498.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.1537, allocations: 148.8 kB / 499 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.155, allocations: 147.5 kB / 499.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.1611, allocations: 4.652 MB / 0.492 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.1616, allocations: 0.8706 MB / 0.4928 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.1619, allocations: 88.12 kB / 0.4929 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.1622, allocations: 183.4 kB / 0.4931 GB, free: 11.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.755e-06/0.1622, allocations: 0 / 0.4931 GB, free: 11.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.1934, allocations: 10.75 MB / 0.5036 GB, free: 1.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.289, allocations: 14.78 kB / 0.5036 GB, free: 1.02 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches