Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001673/0.001673, allocations: 89.22 kB / 20.69 MB, free: 1.023 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.001987/0.001987, allocations: 157.6 kB / 23.95 MB, free: 4.152 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.535/1.535, allocations: 177 MB / 204.1 MB, free: 9.141 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.2154/0.2154, allocations: 34.27 MB / 294.8 MB, free: 14.5 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 3.984 kB / 442.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/3.037e-05, allocations: 4.672 kB / 442.7 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003084/0.003114, allocations: 1.716 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.004993, allocations: 0.9735 MB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.005074, allocations: 0 / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.005404, allocations: 83.69 kB / 445.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.00576, allocations: 123.4 kB / 445.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.005975, allocations: 71.67 kB / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.006187, allocations: 123.6 kB / 445.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.006282, allocations: 7.938 kB / 445.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.006413, allocations: 67.81 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.006553, allocations: 59.86 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.006575, allocations: 4 kB / 446 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.006681, allocations: 47.86 kB / 446 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.006752, allocations: 31.86 kB / 446 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.006804, allocations: 19.92 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.007048, allocations: 119.6 kB / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.007051, allocations: 0 / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007052, allocations: 0 / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007057, allocations: 0 / 446.2 MB, free: 1.727 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.0006388/0.007696, allocations: 357.4 kB / 446.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.007731, allocations: 12.03 kB / 446.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.007781, allocations: 16.84 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.008076, allocations: 153.5 kB / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.008093, allocations: 4.375 kB / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.00812, allocations: 8.312 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.008277, allocations: 54.23 kB / 446.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.008291, allocations: 4.172 kB / 446.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.0083, allocations: 384 / 446.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.008312, allocations: 7.938 kB / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.008386, allocations: 15.98 kB / 446.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.008757, allocations: 236.6 kB / 447 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.008944, allocations: 62.61 kB / 447.1 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.009007, allocations: 20.84 kB / 447.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.009024, allocations: 0 / 447.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.009185, allocations: 75.33 kB / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.009186, allocations: 0 / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006111/0.009797, allocations: 181.3 kB / 447.4 MB, free: 432 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.009854, allocations: 55.39 kB / 447.4 MB, free: 364 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.01013, allocations: 227.5 kB / 447.6 MB, free: 120 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.01015, allocations: 29.7 kB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2279/0.2381, allocations: 108 kB / 447.8 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.2381, allocations: 24.16 kB / 447.8 MB, free: 19.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.2382, allocations: 25.86 kB / 447.8 MB, free: 19.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.2382, allocations: 323.5 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.2383, allocations: 21.83 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.2384, allocations: 43.53 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2385, allocations: 61.16 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2385, allocations: 2.75 kB / 448.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.2387, allocations: 106.5 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2387, allocations: 6.766 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2387, allocations: 1.062 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.2388, allocations: 4.062 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2389, allocations: 18.19 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2389, allocations: 5.531 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.2389, allocations: 3.062 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2389, allocations: 5.969 kB / 448.4 MB, free: 18.89 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 8.294e-05/0.239, allocations: 136.6 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.239, allocations: 15.7 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.2393, allocations: 122.4 kB / 448.7 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.2393, allocations: 5.031 kB / 448.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2393, allocations: 3.797 kB / 448.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2393, allocations: 0.7031 kB / 448.7 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.2397, allocations: 354 kB / 449 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2397, allocations: 0.6562 kB / 449 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2398, allocations: 14.06 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2398, allocations: 5.125 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2398, allocations: 2.953 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2398, allocations: 3.281 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2398, allocations: 0 / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.24, allocations: 213.5 kB / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.24, allocations: 23.84 kB / 449.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.24, allocations: 2.938 kB / 449.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.2401, allocations: 3.703 kB / 449.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.2401, allocations: 6.812 kB / 449.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2402, allocations: 8.188 kB / 449.3 MB, free: 18.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.2403, allocations: 170 kB / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2403, allocations: 384 / 449.5 MB, free: 18.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2405, allocations: 29.92 kB / 449.5 MB, free: 18.2 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.001751/0.2423, allocations: 485.5 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.2425, allocations: 62.45 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2425, allocations: 4.719 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.2426, allocations: 27 kB / 450.1 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.2429, allocations: 36.17 kB / 450.1 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.2434, allocations: 258.1 kB / 450.4 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2435, allocations: 97.8 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.2436, allocations: 16.98 kB / 450.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.2436, allocations: 17.62 kB / 450.5 MB, free: 17.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2436, allocations: 0 / 450.5 MB, free: 17.71 MB / 366.1 MB Notification: Performance of Templates: time 0.005568/0.2492, allocations: 1.855 MB / 452.3 MB, free: 17.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.023852411657572]