Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001198, 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.00132/0.00132, 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.466/1.466, 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.2505/0.2505, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 80.95 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.153, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003528/0.1566, allocations: 1.822 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.1598, allocations: 1.694 MB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.16, allocations: 7.938 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.1605, allocations: 51.67 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.1612, allocations: 139.4 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1616, allocations: 107.6 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.1621, allocations: 195.5 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.1622, allocations: 17.66 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.1624, allocations: 87.58 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.1627, allocations: 83.59 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1627, allocations: 8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.163, allocations: 115.9 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.1631, allocations: 35.84 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.1632, allocations: 67.53 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.1636, allocations: 223.6 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1636, allocations: 0 / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1636, allocations: 0 / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1636, allocations: 0 / 484.8 MB, free: 0.5234 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.0007245/0.1644, allocations: 494.6 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1644, allocations: 12.03 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1645, allocations: 34.75 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.1645, allocations: 20.66 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1649, allocations: 260.9 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.165, allocations: 4.375 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.165, allocations: 11.92 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1652, allocations: 93.03 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1653, allocations: 4 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1653, allocations: 4 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1653, allocations: 0 / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1654, allocations: 31.97 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1657, allocations: 222.5 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.166, allocations: 109.1 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.1661, allocations: 37.7 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1662, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.1665, allocations: 120.9 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1665, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004812/0.167, allocations: 165.4 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.1671, allocations: 128.5 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.1674, allocations: 237.6 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1674, allocations: 29.7 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.1675, allocations: 116.1 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.1675, allocations: 31.62 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.1676, allocations: 33.72 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1678, allocations: 330.8 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1679, allocations: 27.98 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.168, allocations: 73.08 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1682, allocations: 91.44 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1682, allocations: 7.875 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002862/0.1685, allocations: 141.8 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1685, allocations: 4 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1685, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1686, allocations: 0 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1687, allocations: 24.05 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1687, allocations: 7.984 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.1688, allocations: 11.98 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1688, allocations: 7.938 kB / 487.6 MB, free: 13.33 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001864/0.169, allocations: 133.8 kB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.1691, allocations: 23.7 kB / 487.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.1691, allocations: 21 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1691, allocations: 0 / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.1691, allocations: 4 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1691, allocations: 3.984 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.1694, allocations: 225.5 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1694, allocations: 0 / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.1694, allocations: 8 kB / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1694, allocations: 0 / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1694, allocations: 7.984 kB / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.1694, allocations: 0 / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1694, allocations: 3.938 kB / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1698, allocations: 173.6 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.1699, allocations: 96.91 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.1699, allocations: 7.938 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.17, allocations: 4 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.17, allocations: 7.984 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1701, allocations: 8 kB / 488.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.1702, allocations: 176.5 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1703, allocations: 4 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.1706, allocations: 51.98 kB / 488.6 MB, free: 12.3 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001596/0.1722, allocations: 1.098 MB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1724, allocations: 87.95 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1725, allocations: 0 / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1726, allocations: 43.92 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1729, allocations: 58.92 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.1752, allocations: 1.878 MB / 491.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1756, allocations: 0.7203 MB / 492.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.1757, allocations: 34.03 kB / 492.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1758, allocations: 63.39 kB / 492.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1758, allocations: 0 / 492.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.2038, allocations: 5.184 MB / 497.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.613, allocations: 11.94 kB / 497.8 MB, free: 3.219 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches