Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001435/0.001435, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001548/0.001548, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.512/1.512, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2244/0.2244, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.921e-05, allocations: 2.281 kB / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003286/0.003315, allocations: 1.723 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.005212, allocations: 0.9703 MB / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.005298, allocations: 0 / 445.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.005591, allocations: 35.77 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.005912, allocations: 91.55 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.006127, allocations: 87.53 kB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.006324, allocations: 107.6 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.006418, allocations: 11.98 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.006639, allocations: 51.84 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.006724, allocations: 27.84 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.006746, allocations: 4 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006846, allocations: 39.98 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.006908, allocations: 23.92 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.006961, allocations: 23.91 kB / 446 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.007219, allocations: 107.6 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.007225, allocations: 4 kB / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007226, allocations: 0 / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.00723, allocations: 0 / 446.1 MB, free: 2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005859/0.007816, allocations: 341.6 kB / 446.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.007855, allocations: 8.031 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.007901, allocations: 8.891 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.008144, allocations: 157.4 kB / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.008156, allocations: 384 / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.008178, allocations: 8.312 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.008337, allocations: 54.23 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.008351, allocations: 3.938 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.008361, allocations: 0 / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008368, allocations: 4 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.008451, allocations: 19.98 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.008877, allocations: 232.6 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009074, allocations: 62.61 kB / 446.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.009137, allocations: 24.78 kB / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.009152, allocations: 0 / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.009308, allocations: 67.39 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.009309, allocations: 0 / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006667/0.009976, allocations: 181.3 kB / 447.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.01003, allocations: 59.41 kB / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01024, allocations: 172.9 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.01027, allocations: 29.7 kB / 447.5 MB, free: 460 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01037, allocations: 100.1 kB / 447.6 MB, free: 356 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.01041, allocations: 27.77 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.01046, allocations: 25.72 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1765/0.187, allocations: 318.8 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1871, allocations: 23.73 kB / 448 MB, free: 19.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.1872, allocations: 39 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1873, allocations: 65.08 kB / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1873, allocations: 0 / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002543/0.1876, allocations: 105 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1876, allocations: 7.938 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1876, allocations: 5.094 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1876, allocations: 1.281 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1877, allocations: 18.94 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1877, allocations: 4.875 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.1878, allocations: 6.172 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1878, allocations: 2.969 kB / 448.2 MB, free: 19.05 MB / 366.1 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 (10): * Single equations (assignments): 10 * 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.0001152/0.1879, allocations: 120.5 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.188, allocations: 10.45 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.1883, allocations: 125.9 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1883, allocations: 4.641 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1883, allocations: 3.938 kB / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1883, allocations: 0.75 kB / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.1887, allocations: 341.6 kB / 448.8 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1887, allocations: 0.75 kB / 448.8 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.1888, allocations: 13.16 kB / 448.8 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1888, allocations: 1.812 kB / 448.8 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1888, allocations: 6.625 kB / 448.8 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1888, allocations: 1.25 kB / 448.8 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1888, allocations: 1.938 kB / 448.8 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1891, allocations: 214 kB / 449 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.1891, allocations: 13.55 kB / 449 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1891, allocations: 6.844 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1892, allocations: 3.031 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1892, allocations: 14.38 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1892, allocations: 9.828 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1894, allocations: 135.9 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1894, allocations: 0 / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1896, allocations: 25.81 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001785/0.1914, allocations: 0.4888 MB / 449.7 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1916, allocations: 56.23 kB / 449.8 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1916, allocations: 3.938 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.1917, allocations: 32.72 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1921, allocations: 33.47 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.1926, allocations: 218 kB / 450.1 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.599e-05/0.1927, allocations: 90.61 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.691e-05/0.1927, allocations: 17.86 kB / 450.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.1928, allocations: 17.27 kB / 450.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1928, allocations: 0 / 450.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of Templates: time 0.005907/0.1987, allocations: 1.839 MB / 452 MB, free: 17.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.988191310316324]