Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009094/0.0009094, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009131/0.0009131, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8825/0.8825, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.433e-05, allocations: 6.281 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.1711/0.1711, allocations: 1.775 MB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1722, allocations: 1.057 MB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.1723, allocations: 3.938 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.1727, allocations: 311 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1731, allocations: 263 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.1733, allocations: 107.4 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1735, allocations: 268.7 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.1735, allocations: 7.562 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1737, allocations: 160.6 kB / 446.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1738, allocations: 203.7 kB / 446.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1738, allocations: 8.031 kB / 446.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.1739, allocations: 56.94 kB / 446.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.174, allocations: 136.3 kB / 446.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.1741, allocations: 75.38 kB / 446.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1744, allocations: 359.8 kB / 447 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1744, allocations: 0 / 447 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1744, allocations: 0 / 447 MB, free: 42.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1744, allocations: 0.6875 kB / 447 MB, free: 42.66 MB / 410.7 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.0006189/0.175, allocations: 0.684 MB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.175, allocations: 11.34 kB / 447.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.621e-05/0.175, allocations: 38.06 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1751, allocations: 51.05 kB / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1755, allocations: 393.5 kB / 448.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1755, allocations: 3.25 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1755, allocations: 3.25 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1757, allocations: 88.45 kB / 448.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1757, allocations: 192 / 448.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1757, allocations: 8.125 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1757, allocations: 2.875 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.615e-05/0.1758, allocations: 35.56 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.176, allocations: 324 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1762, allocations: 113.2 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.1762, allocations: 38.25 kB / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1762, allocations: 0 / 448.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1764, allocations: 116.7 kB / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.51e-07/0.1764, allocations: 0 / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002908/0.1767, allocations: 208.3 kB / 449.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1767, allocations: 85.05 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.1773, allocations: 1.064 MB / 450.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1773, allocations: 25.7 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.1774, allocations: 248.1 kB / 450.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1774, allocations: 36.56 kB / 450.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1774, allocations: 25.94 kB / 450.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.1775, allocations: 369.8 kB / 450.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.1775, allocations: 27.62 kB / 450.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.1776, allocations: 61.59 kB / 451 MB, free: 40.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.399e-05/0.1777, allocations: 95.42 kB / 451.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1777, allocations: 0 / 451.1 MB, free: 40.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001559/0.1778, allocations: 177 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1779, allocations: 9.062 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1779, allocations: 3.938 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1779, allocations: 2.906 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.178, allocations: 27.86 kB / 451.3 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.178, allocations: 4.062 kB / 451.3 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.178, allocations: 13.27 kB / 451.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.178, allocations: 8.125 kB / 451.3 MB, free: 40.02 MB / 410.7 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.0001325/0.1782, allocations: 225 kB / 451.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.1782, allocations: 61.06 kB / 451.6 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.1784, allocations: 204.5 kB / 451.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1784, allocations: 2.781 kB / 451.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1784, allocations: 0 / 451.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1784, allocations: 0 / 451.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.1786, allocations: 301.9 kB / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1786, allocations: 0 / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1787, allocations: 15.94 kB / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1787, allocations: 0 / 452.1 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1787, allocations: 6.781 kB / 452.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1787, allocations: 0 / 452.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1787, allocations: 3.188 kB / 452.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1789, allocations: 219.3 kB / 452.3 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.179, allocations: 60.77 kB / 452.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.179, allocations: 10.75 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.179, allocations: 10.17 kB / 452.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.1791, allocations: 16.56 kB / 452.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1791, allocations: 5.562 kB / 452.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000493/0.1796, allocations: 0.7899 MB / 453.2 MB, free: 39.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1796, allocations: 0 / 453.2 MB, free: 39.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000194/0.1798, allocations: 49.25 kB / 453.3 MB, free: 39.08 MB / 410.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009666/0.1808, allocations: 1.09 MB / 454.4 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1809, allocations: 95.47 kB / 454.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1809, allocations: 0 / 454.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.181, allocations: 39.84 kB / 454.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1813, allocations: 69.05 kB / 454.6 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.1847, allocations: 4.627 MB / 459.2 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.1848, allocations: 249.4 kB / 459.4 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.545e-05/0.1849, allocations: 56.25 kB / 459.5 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.185, allocations: 151.6 kB / 459.6 MB, free: 35.93 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.185, allocations: 0 / 459.6 MB, free: 35.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.204, allocations: 10.15 MB / 469.8 MB, free: 33.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.389, allocations: 2.656 kB / 469.8 MB, free: 33.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.48626396432519]