Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008683/0.0008683, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009064/0.0009064, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8991/0.8991, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2745/0.2745, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.15e-05, allocations: 4.531 kB / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.17/0.17, allocations: 1.654 MB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.171, allocations: 0.9626 MB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.1711, allocations: 0 / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1713, allocations: 60.81 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1716, allocations: 112.5 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.1717, allocations: 81.08 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1718, allocations: 114.2 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1719, allocations: 6.516 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.172, allocations: 59.72 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.172, allocations: 37.77 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.172, allocations: 5.5 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.065e-05/0.1721, allocations: 27.33 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.1722, allocations: 29.98 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.1722, allocations: 15.75 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1723, allocations: 105.5 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1723, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1724, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1724, allocations: 3.5 kB / 445.5 MB, free: 43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003718/0.1727, allocations: 328.6 kB / 445.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1728, allocations: 10.94 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/0.1728, allocations: 32.56 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1728, allocations: 21.41 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.173, allocations: 150.8 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.173, allocations: 3.281 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.173, allocations: 2.438 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.1731, allocations: 51.88 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1731, allocations: 4.656 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1731, allocations: 6.719 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1731, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.539e-05/0.1732, allocations: 17.34 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.1733, allocations: 152.7 kB / 446.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.1734, allocations: 57.97 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.1734, allocations: 19.27 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1734, allocations: 2.094 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.1735, allocations: 69.22 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1735, allocations: 0 / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001809/0.1737, allocations: 108.2 kB / 446.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.1738, allocations: 51.41 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1739, allocations: 200.9 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.1739, allocations: 28.94 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.1739, allocations: 102.3 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1739, allocations: 17.83 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.1739, allocations: 19.09 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.952e-05/0.174, allocations: 324 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.174, allocations: 14.75 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.174, allocations: 27.36 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.1741, allocations: 50.17 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1741, allocations: 2.938 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.396e-05/0.1742, allocations: 83.23 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1742, allocations: 5.75 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1742, allocations: 0 / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1742, allocations: 0.6562 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.1742, allocations: 19.17 kB / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1743, allocations: 0 / 447.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.1743, allocations: 16.02 kB / 447.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1743, allocations: 0 / 447.5 MB, free: 41.49 MB / 410.7 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 5.08e-05/0.1743, allocations: 130 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.1743, allocations: 10.86 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1745, allocations: 96.5 kB / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1745, allocations: 0 / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1745, allocations: 3.234 kB / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1745, allocations: 0 / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.652e-05/0.1745, allocations: 160.1 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1745, allocations: 3.188 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.1746, allocations: 13.88 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1746, allocations: 5.531 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1746, allocations: 3.031 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1746, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.1746, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.544e-05/0.1747, allocations: 114 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.1747, allocations: 16.83 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1747, allocations: 0 / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.1747, allocations: 6.156 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.1747, allocations: 2.938 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1747, allocations: 3.234 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.314e-05/0.1748, allocations: 158.2 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1748, allocations: 0 / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.175, allocations: 17.44 kB / 448.2 MB, free: 41 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008475/0.1758, allocations: 0.9997 MB / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1759, allocations: 45.47 kB / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1759, allocations: 0 / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.176, allocations: 20.89 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.1761, allocations: 31.03 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.177, allocations: 1.519 MB / 450.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.1771, allocations: 94.86 kB / 450.9 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.1771, allocations: 21.25 kB / 450.9 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.1771, allocations: 33.56 kB / 451 MB, free: 38.96 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1771, allocations: 4 kB / 451 MB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.1926, allocations: 3.959 MB / 454.9 MB, free: 37.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.067, allocations: 5.406 kB / 454.9 MB, free: 37.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.202274956740439]