Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001756/0.001756, allocations: 76.73 kB / 20.68 MB, free: 1.016 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.002214/0.002214, allocations: 160.5 kB / 23.95 MB, free: 4.129 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.489/1.489, allocations: 177 MB / 204.1 MB, free: 9.156 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.2163/0.2163, allocations: 34.25 MB / 294.8 MB, free: 14.52 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/3.01e-05, allocations: 2.281 kB / 442.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003439/0.003469, allocations: 1.719 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.005452, allocations: 0.9774 MB / 445.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.005542, allocations: 4 kB / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.005881, allocations: 47.75 kB / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.00626, allocations: 103.5 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.006478, allocations: 87.53 kB / 445.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.006687, allocations: 103.7 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.006793, allocations: 7.984 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.006911, allocations: 59.77 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.007, allocations: 23.91 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.007023, allocations: 4 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.007183, allocations: 47.97 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.007258, allocations: 27.86 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.007311, allocations: 23.94 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.007574, allocations: 135.5 kB / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.007579, allocations: 0 / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007581, allocations: 0 / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.007592, allocations: 0 / 446.1 MB, free: 1.816 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.0006694/0.008261, allocations: 373.3 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.008297, allocations: 8.031 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.00835, allocations: 20.78 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.008657, allocations: 162.4 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.008668, allocations: 384 / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.008695, allocations: 8.375 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.00886, allocations: 54.23 kB / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.008875, allocations: 4.172 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.00889, allocations: 4.375 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.0089, allocations: 11.86 kB / 446.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.008985, allocations: 23.98 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.009401, allocations: 236.5 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.009601, allocations: 58.67 kB / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.009667, allocations: 28.84 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.009683, allocations: 0 / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.009848, allocations: 71.33 kB / 447.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.009849, allocations: 3.938 kB / 447.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006616/0.01051, allocations: 193.2 kB / 447.3 MB, free: 468 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.01056, allocations: 55.41 kB / 447.4 MB, free: 400 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.01086, allocations: 275 kB / 447.7 MB, free: 116 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01088, allocations: 29.64 kB / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2179/0.2288, allocations: 112 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.2289, allocations: 26.52 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.2289, allocations: 23.3 kB / 447.9 MB, free: 19.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.229, allocations: 329 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2291, allocations: 22 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.2292, allocations: 35.97 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2293, allocations: 68 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2293, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002499/0.2296, allocations: 112.3 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2296, allocations: 6.031 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2296, allocations: 0 / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.2296, allocations: 1.094 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2297, allocations: 22.31 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2297, allocations: 2.078 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.2298, allocations: 6.391 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2298, allocations: 2.312 kB / 448.4 MB, free: 18.86 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.0001009/0.2299, allocations: 138.8 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.2299, allocations: 20.31 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.2302, allocations: 121.2 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2302, allocations: 5.344 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2302, allocations: 0 / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2302, allocations: 4.312 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.2307, allocations: 363.2 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2307, allocations: 1.891 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.2307, allocations: 10.23 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2307, allocations: 3.938 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2307, allocations: 4.766 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2307, allocations: 1.062 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2307, allocations: 1.75 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.231, allocations: 220 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.231, allocations: 21.03 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.231, allocations: 1.812 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.2311, allocations: 6.812 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2311, allocations: 6.734 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2312, allocations: 4.484 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.2313, allocations: 213.6 kB / 449.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2313, allocations: 0 / 449.6 MB, free: 18.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.2316, allocations: 26.5 kB / 449.6 MB, free: 18.16 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.001803/0.2334, allocations: 489.4 kB / 450.1 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2336, allocations: 66.14 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2336, allocations: 0 / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.2337, allocations: 24.84 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.2341, allocations: 31.03 kB / 450.2 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.2346, allocations: 305.9 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.2347, allocations: 105 kB / 450.6 MB, free: 17.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.2347, allocations: 17.17 kB / 450.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.2348, allocations: 23.48 kB / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2348, allocations: 0 / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of Templates: time 0.005474/0.2403, allocations: 1.868 MB / 452.5 MB, free: 17.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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: 5.095210816711187]