Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 89.3 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 158.7 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.518e-05, allocations: 2.281 kB / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003793/0.003828, allocations: 1.716 MB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.005914, allocations: 0.9757 MB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.006005, allocations: 7.938 kB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.006305, allocations: 39.83 kB / 445.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.006691, allocations: 103.5 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.006993, allocations: 83.53 kB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.007221, allocations: 107.6 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.00733, allocations: 8 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.007474, allocations: 59.81 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.007566, allocations: 23.92 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.00759, allocations: 4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.00771, allocations: 47.91 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.007779, allocations: 23.92 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.007837, allocations: 27.86 kB / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.008113, allocations: 123.5 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.008116, allocations: 0 / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008118, allocations: 0 / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.008128, allocations: 0 / 446.1 MB, free: 1.844 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.000678/0.008806, allocations: 369.4 kB / 446.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.008846, allocations: 8.031 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.008901, allocations: 12.84 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.009244, allocations: 162.3 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.009257, allocations: 4.375 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.009304, allocations: 4.375 kB / 446.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.00948, allocations: 58.17 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.009492, allocations: 192 / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.009503, allocations: 384 / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.00951, allocations: 3.938 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.009595, allocations: 23.98 kB / 446.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.01003, allocations: 240.5 kB / 447 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.01023, allocations: 58.62 kB / 447 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.0103, allocations: 24.84 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.01032, allocations: 3.984 kB / 447 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.0105, allocations: 71.33 kB / 447.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.01051, allocations: 0 / 447.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006498/0.01116, allocations: 189.3 kB / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.0112, allocations: 51.41 kB / 447.3 MB, free: 460 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.01148, allocations: 239.6 kB / 447.6 MB, free: 212 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.0115, allocations: 29.7 kB / 447.6 MB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.01158, allocations: 108.1 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.01162, allocations: 23.8 kB / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.01167, allocations: 25.7 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1972/0.2089, allocations: 323.8 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.2091, allocations: 22.05 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2092, allocations: 37.72 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2093, allocations: 68.44 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2093, allocations: 0 / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002693/0.2096, allocations: 108.4 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2096, allocations: 6.484 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2096, allocations: 1.688 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.2096, allocations: 6.422 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2097, allocations: 22.88 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2097, allocations: 1.156 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.2098, allocations: 3.406 kB / 448.3 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2098, allocations: 4.422 kB / 448.4 MB, free: 18.91 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.000109/0.2099, allocations: 134 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.21, allocations: 14.8 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.2103, allocations: 127.5 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2103, allocations: 1.094 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2103, allocations: 8.594 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2103, allocations: 0.5156 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.2107, allocations: 355.6 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2107, allocations: 1.875 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.2108, allocations: 10.61 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2108, allocations: 1.125 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2108, allocations: 7.609 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2108, allocations: 1.219 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2108, allocations: 0.5156 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.211, allocations: 218.7 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.211, allocations: 10.77 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2111, allocations: 10.81 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.2111, allocations: 3.25 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2112, allocations: 6.719 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.2112, allocations: 4.984 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2113, allocations: 178.7 kB / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2113, allocations: 0 / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.2116, allocations: 28.69 kB / 449.5 MB, free: 18.29 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.001845/0.2135, allocations: 488.5 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.2137, allocations: 61.55 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2137, allocations: 0 / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.2138, allocations: 28.73 kB / 450 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2142, allocations: 34.98 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.2147, allocations: 267.7 kB / 450.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.2147, allocations: 99.91 kB / 450.4 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.2148, allocations: 20.58 kB / 450.4 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.2148, allocations: 20.98 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2148, allocations: 3.875 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005422/0.2203, allocations: 1.846 MB / 452.3 MB, free: 17.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.960930652916431]