Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8999/0.8999, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 34.24 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.96e-05, allocations: 2.281 kB / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.157/0.157, allocations: 1.896 MB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009917/0.158, allocations: 1.018 MB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.1581, allocations: 0 / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1583, allocations: 47.23 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.1586, allocations: 99.48 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.1587, allocations: 97.92 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1589, allocations: 148.2 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.159, allocations: 28.23 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.159, allocations: 75.88 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.1591, allocations: 43.72 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1591, allocations: 8.844 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.1592, allocations: 40.92 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1592, allocations: 31.66 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1593, allocations: 26.48 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1595, allocations: 155.1 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1595, allocations: 0 / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1595, allocations: 1.969 kB / 446 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1595, allocations: 3.938 kB / 446 MB, free: 42.77 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004031/0.1599, allocations: 415 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1599, allocations: 10.84 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.122e-05/0.1599, allocations: 39.97 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.16, allocations: 14.94 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1601, allocations: 169 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1602, allocations: 3.281 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1602, allocations: 14.09 kB / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1603, allocations: 139.5 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1603, allocations: 0 / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1603, allocations: 7.094 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1603, allocations: 0 / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.1604, allocations: 54.44 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1607, allocations: 474 kB / 447.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1609, allocations: 91.92 kB / 447.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.161, allocations: 38.41 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.161, allocations: 0 / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.1611, allocations: 112.5 kB / 447.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1611, allocations: 3.312 kB / 447.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002305/0.1613, allocations: 151 kB / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.1614, allocations: 54.09 kB / 447.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1615, allocations: 205 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.1615, allocations: 29.7 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.1615, allocations: 123.8 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.1615, allocations: 30.05 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1616, allocations: 29.52 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.933e-05/0.1616, allocations: 331.4 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.1616, allocations: 31.97 kB / 448.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.1617, allocations: 67.19 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.1618, allocations: 98.53 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1618, allocations: 1.031 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000142/0.1619, allocations: 145.8 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1619, allocations: 5.906 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1619, allocations: 0 / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.162, allocations: 2.906 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.162, allocations: 23.78 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.162, allocations: 3.281 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.1621, allocations: 17.45 kB / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1621, allocations: 9.5 kB / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.719e-05/0.1621, allocations: 133.1 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1621, allocations: 16.47 kB / 449 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.1623, allocations: 129.9 kB / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1623, allocations: 0 / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1623, allocations: 0 / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1623, allocations: 7.219 kB / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.586e-05/0.1624, allocations: 182.8 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1624, allocations: 4 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.1624, allocations: 11.62 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1624, allocations: 0 / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1624, allocations: 3.422 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1624, allocations: 0 / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1624, allocations: 3.469 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.1626, allocations: 196.4 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.1626, allocations: 13.72 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1627, allocations: 5.062 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.796e-05/0.1627, allocations: 12.88 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.1627, allocations: 6.156 kB / 449.6 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1627, allocations: 10.78 kB / 449.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.1628, allocations: 149.4 kB / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1628, allocations: 0 / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.1629, allocations: 31.73 kB / 449.7 MB, free: 40.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008239/0.1638, allocations: 1.057 MB / 450.8 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1639, allocations: 82.14 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1639, allocations: 0 / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.164, allocations: 41.14 kB / 450.9 MB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.1641, allocations: 37.91 kB / 451 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1652, allocations: 1.773 MB / 452.7 MB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.1652, allocations: 108.6 kB / 452.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.1653, allocations: 12.75 kB / 452.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1653, allocations: 48.19 kB / 452.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1653, allocations: 3.938 kB / 452.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1803, allocations: 4.69 MB / 457.6 MB, free: 36.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.047, allocations: 3.875 kB / 457.6 MB, free: 36.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.133299943991005]