Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0008178/0.0008178, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003247/0.003247, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.9024/0.9024, allocations: 177.1 MB / 205 MB, free: 5.734 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.2472/0.2472, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.481e-05, allocations: 2.281 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.1505/0.1505, allocations: 1.733 MB / 445.3 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.1514, allocations: 0.974 MB / 446.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.1514, allocations: 2.875 kB / 446.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1517, allocations: 86.97 kB / 446.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1519, allocations: 120.5 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.152, allocations: 84.84 kB / 446.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1522, allocations: 125.3 kB / 446.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.1523, allocations: 13.39 kB / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.1523, allocations: 67.33 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.1524, allocations: 58.8 kB / 446.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1524, allocations: 2.656 kB / 446.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.1525, allocations: 62.12 kB / 446.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1525, allocations: 28.25 kB / 446.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1526, allocations: 25.11 kB / 446.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1527, allocations: 133.5 kB / 447 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1527, allocations: 0 / 447 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1527, allocations: 0 / 447 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1527, allocations: 0 / 447 MB, free: 43.08 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.0003401/0.1531, allocations: 369.4 kB / 447.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1531, allocations: 11.47 kB / 447.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1531, allocations: 14.88 kB / 447.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1533, allocations: 154.6 kB / 447.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1533, allocations: 3.562 kB / 447.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1533, allocations: 7.5 kB / 447.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.1534, allocations: 58.53 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1534, allocations: 6.656 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1535, allocations: 2.906 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1535, allocations: 0 / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.1535, allocations: 28.91 kB / 447.7 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.1537, allocations: 245.2 kB / 447.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1539, allocations: 62.83 kB / 448 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.1539, allocations: 21.36 kB / 448 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1539, allocations: 3.969 kB / 448 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.926e-05/0.154, allocations: 78.77 kB / 448.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.154, allocations: 0 / 448.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004746/0.1545, allocations: 245.9 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.1545, allocations: 51.41 kB / 448.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1546, allocations: 221.8 kB / 448.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.1546, allocations: 29.7 kB / 448.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.1547, allocations: 116.5 kB / 448.7 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1547, allocations: 34.84 kB / 448.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.1547, allocations: 28.38 kB / 448.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.002e-05/0.1547, allocations: 332.3 kB / 449.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.1548, allocations: 29.08 kB / 449.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.1548, allocations: 45.27 kB / 449.2 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.1549, allocations: 84.7 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1549, allocations: 0.625 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000115/0.155, allocations: 140 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.155, allocations: 6.969 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.155, allocations: 0 / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.155, allocations: 0 / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.1551, allocations: 20.33 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1551, allocations: 2.938 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.1551, allocations: 10.05 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1551, allocations: 2.938 kB / 449.5 MB, free: 41.21 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 (13): * Single equations (assignments): 13 * 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.64e-05/0.1552, allocations: 142.6 kB / 449.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.1552, allocations: 13.75 kB / 449.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1554, allocations: 163.9 kB / 449.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1554, allocations: 1.266 kB / 449.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1554, allocations: 3.281 kB / 449.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1554, allocations: 0 / 449.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1556, allocations: 400 kB / 450.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1556, allocations: 3.094 kB / 450.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.1556, allocations: 22.11 kB / 450.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1556, allocations: 3.062 kB / 450.2 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1557, allocations: 4 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1557, allocations: 2.906 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1557, allocations: 7.875 kB / 450.2 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1558, allocations: 236.3 kB / 450.4 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.1558, allocations: 10.78 kB / 450.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1558, allocations: 6.719 kB / 450.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.1558, allocations: 6.078 kB / 450.5 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1559, allocations: 18.11 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1559, allocations: 9.906 kB / 450.5 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.1559, allocations: 172.4 kB / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1559, allocations: 0 / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.1561, allocations: 31.06 kB / 450.7 MB, free: 40.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0007588/0.1569, allocations: 0.5531 MB / 451.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.157, allocations: 75.17 kB / 451.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.157, allocations: 0 / 451.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.157, allocations: 48.33 kB / 451.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.1573, allocations: 31.16 kB / 451.4 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.1576, allocations: 309.6 kB / 451.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.132e-05/0.1576, allocations: 106.8 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1577, allocations: 20.77 kB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1577, allocations: 128 / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of Templates: time 0.002328/0.16, allocations: 2.301 MB / 454.1 MB, free: 39.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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: 4.892579197883606]