Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001136, allocations: 107.9 kB / 17.64 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 206.5 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.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.11 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 80.47 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1448, allocations: 62.44 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.005175/0.15, allocations: 1.688 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1528, allocations: 1.005 MB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1529, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1533, allocations: 55.75 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.1539, allocations: 103.6 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1542, allocations: 67.69 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1544, allocations: 99.69 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.1545, allocations: 12.2 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1546, allocations: 47.8 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1548, allocations: 31.78 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1548, allocations: 4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1549, allocations: 31.98 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.155, allocations: 27.86 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1551, allocations: 35.69 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1554, allocations: 123.8 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1554, allocations: 0 / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1554, allocations: 0 / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1555, allocations: 0 / 483.5 MB, free: 1.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000718/0.1562, allocations: 446.7 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1562, allocations: 11.97 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1563, allocations: 30.75 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.1564, allocations: 16.78 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1567, allocations: 212.9 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1567, allocations: 4.375 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1568, allocations: 3.938 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.157, allocations: 53.67 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.157, allocations: 4 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.157, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.157, allocations: 0 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.37e-05/0.1571, allocations: 19.92 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1574, allocations: 197.7 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1576, allocations: 50.56 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1577, allocations: 24.84 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1577, allocations: 0 / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.1579, allocations: 63.39 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1579, allocations: 3.938 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002836/0.1582, allocations: 101.4 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1582, allocations: 51.41 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1585, allocations: 267 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1585, allocations: 33.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.1586, allocations: 108.2 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1587, allocations: 15.89 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1587, allocations: 17.72 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1589, allocations: 326.8 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.1589, allocations: 15.98 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.159, allocations: 29.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.1591, allocations: 45.66 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1591, allocations: 4.188 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001643/0.1593, allocations: 93.42 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.1593, allocations: 8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1593, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1594, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.1594, allocations: 8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1595, allocations: 4 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1595, allocations: 11.88 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1595, allocations: 7.984 kB / 485.7 MB, free: 15.38 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 (7): * Single equations (assignments): 7 * 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.0001118/0.1596, allocations: 133.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1597, allocations: 11.91 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1597, allocations: 20.98 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1597, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1597, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1597, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.16, allocations: 209.5 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.16, allocations: 7.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.1601, allocations: 7.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1601, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1601, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1601, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1601, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1603, allocations: 116.9 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1604, allocations: 85.02 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1604, allocations: 7.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.1605, allocations: 3.984 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1605, allocations: 4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1605, allocations: 4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.1607, allocations: 208.4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1607, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1609, allocations: 20 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001344/0.1623, allocations: 0.9454 MB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1625, allocations: 43.92 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1625, allocations: 0 / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.1625, allocations: 19.98 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1628, allocations: 34.56 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1646, allocations: 1.681 MB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1649, allocations: 0.7088 MB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.1649, allocations: 12.55 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.165, allocations: 43.42 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.165, allocations: 0 / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1878, allocations: 3.413 MB / 493.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.248, allocations: 3.984 kB / 493.4 MB, free: 7.633 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_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_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches