Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008432/0.0008432, 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.0008364/0.0008364, 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.8618/0.8618, 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.2363/0.2363, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/2.046e-05, allocations: 2.281 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.1695/0.1695, allocations: 1.89 MB / 444.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.1705, allocations: 1.017 MB / 445.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.996e-05/0.1706, allocations: 10.66 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1708, allocations: 41.09 kB / 445.2 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1711, allocations: 100.9 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1712, allocations: 95.92 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1714, allocations: 150.6 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.1715, allocations: 24.78 kB / 445.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.1715, allocations: 75.53 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1716, allocations: 43.12 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1716, allocations: 5.562 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.45e-05/0.1717, allocations: 47.97 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.1717, allocations: 27.22 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1718, allocations: 32.62 kB / 445.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1719, allocations: 155.8 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1719, allocations: 0 / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1719, allocations: 0 / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1719, allocations: 0 / 446 MB, free: 42.79 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.0004108/0.1723, allocations: 420 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1724, allocations: 8.125 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/0.1724, allocations: 36.88 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.1724, allocations: 17.31 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1726, allocations: 170.8 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1726, allocations: 3.25 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1726, allocations: 10.16 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1728, allocations: 141.1 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1728, allocations: 9.5 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1728, allocations: 4.438 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1728, allocations: 2.438 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.1729, allocations: 51.86 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.1732, allocations: 486.4 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1734, allocations: 81.08 kB / 447.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.1734, allocations: 39.23 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1735, allocations: 2.562 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.1736, allocations: 108.5 kB / 447.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1736, allocations: 0 / 447.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000219/0.1738, allocations: 152.2 kB / 447.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1738, allocations: 51.41 kB / 447.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1739, allocations: 211.4 kB / 447.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.1739, allocations: 25.7 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.174, allocations: 128.2 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.174, allocations: 29.84 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.174, allocations: 29.61 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.174, allocations: 324.1 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.1741, allocations: 31.66 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.1741, allocations: 67.03 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.07e-05/0.1742, allocations: 103.8 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1742, 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.0001385/0.1744, allocations: 140.7 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1744, allocations: 12.94 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1744, allocations: 0 / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1744, allocations: 2.875 kB / 448.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.1744, allocations: 27.23 kB / 448.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1745, allocations: 3.281 kB / 448.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.1745, allocations: 17.45 kB / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1745, allocations: 5.656 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.067e-05/0.1745, allocations: 126.8 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1746, allocations: 13.69 kB / 449 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.1747, allocations: 139.5 kB / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1747, allocations: 0 / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1747, allocations: 2.781 kB / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1747, allocations: 3.938 kB / 449.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.1748, allocations: 175.5 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1748, allocations: 0 / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1748, allocations: 25.16 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1748, allocations: 2.906 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1748, allocations: 0 / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1749, allocations: 1.312 kB / 449.3 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1749, allocations: 4.562 kB / 449.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.175, allocations: 201.5 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.1751, allocations: 14.09 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1751, allocations: 3.125 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.1751, allocations: 6.688 kB / 449.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.1751, allocations: 8.719 kB / 449.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1751, allocations: 9.469 kB / 449.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.1752, allocations: 145.3 kB / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1752, allocations: 0 / 449.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.1754, allocations: 34.25 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.0008432/0.1762, allocations: 1.057 MB / 450.8 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1763, allocations: 80.8 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1763, allocations: 0 / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.1764, allocations: 37.3 kB / 450.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.1766, allocations: 43.02 kB / 451 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/0.1775, allocations: 1.768 MB / 452.7 MB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.1776, allocations: 105.3 kB / 452.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.511e-05/0.1776, allocations: 17.03 kB / 452.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.1777, allocations: 44.7 kB / 452.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1777, allocations: 0 / 452.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.1946, allocations: 4.701 MB / 457.6 MB, free: 36.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.036, allocations: 6.906 kB / 457.6 MB, free: 36.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 8.93520656786859]