Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001773/0.001773, allocations: 83.31 kB / 20.68 MB, free: 1.035 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.002068/0.002068, allocations: 157.8 kB / 23.95 MB, free: 4.168 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.555/1.555, allocations: 177 MB / 204.1 MB, free: 9.168 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.2139/0.2139, allocations: 34.26 MB / 294.8 MB, free: 14.54 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.976e-05, allocations: 4.531 kB / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003287/0.003317, allocations: 1.719 MB / 444.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.005273, allocations: 0.9814 MB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.005367, allocations: 0 / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.00572, allocations: 47.75 kB / 445.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.006103, allocations: 103.5 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.006341, allocations: 83.55 kB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.0066, allocations: 103.7 kB / 445.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.006718, allocations: 7.984 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.006859, allocations: 59.77 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.006956, allocations: 23.92 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.006983, allocations: 4 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.007105, allocations: 39.98 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.007201, allocations: 31.84 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.007261, allocations: 19.92 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.007556, allocations: 131.5 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.007559, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00756, allocations: 4 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.007571, 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.0006239/0.008195, allocations: 353.5 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.008235, allocations: 15.97 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.008288, allocations: 12.84 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.008576, allocations: 162.3 kB / 446.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.008593, allocations: 4.375 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.008619, allocations: 4.359 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.008784, allocations: 58.23 kB / 446.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.008799, allocations: 4.172 kB / 446.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.00881, allocations: 4.375 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.008816, allocations: 3.938 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.008898, allocations: 19.98 kB / 446.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.009313, allocations: 240.5 kB / 447 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.009516, allocations: 62.67 kB / 447 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.009576, allocations: 16.86 kB / 447 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.009595, allocations: 4 kB / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.00976, allocations: 75.25 kB / 447.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.009762, allocations: 4 kB / 447.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000667/0.01043, allocations: 185.4 kB / 447.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.01049, allocations: 55.34 kB / 447.3 MB, free: 460 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.01076, allocations: 243.6 kB / 447.6 MB, free: 208 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.01079, allocations: 25.7 kB / 447.6 MB, free: 176 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.01089, allocations: 112.1 kB / 447.7 MB, free: 60 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.01093, allocations: 27.78 kB / 447.7 MB, free: 32 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.01098, allocations: 21.72 kB / 447.8 MB, free: 4 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2232/0.2342, allocations: 325.6 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2343, allocations: 22.2 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.94e-05/0.2344, allocations: 37.69 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2345, allocations: 61.08 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2345, allocations: 1.094 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002811/0.2348, allocations: 117 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2348, allocations: 5.75 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2348, allocations: 1 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.2349, allocations: 1.094 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.235, allocations: 15.2 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.235, allocations: 4.906 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.2351, allocations: 4.203 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2351, allocations: 6.062 kB / 448.4 MB, free: 18.9 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.0001212/0.2352, allocations: 135.8 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.2352, allocations: 16.03 kB / 448.5 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.2355, allocations: 125.8 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2355, allocations: 1.062 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2355, allocations: 4.453 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2356, allocations: 1.578 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.2361, allocations: 348.4 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2361, allocations: 5.844 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.2361, allocations: 13.38 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2361, allocations: 0.75 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2361, allocations: 8.906 kB / 449 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2361, allocations: 1.062 kB / 449 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2361, allocations: 0 / 449 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.2364, allocations: 214.4 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.2364, allocations: 11.28 kB / 449.2 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.2364, allocations: 9.656 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2366, allocations: 6.984 kB / 449.2 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.2366, allocations: 11.09 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2366, allocations: 7.734 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.2369, allocations: 178.5 kB / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2369, allocations: 1 kB / 449.4 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.2371, allocations: 28.36 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.239, allocations: 480.5 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2392, allocations: 60.56 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2392, allocations: 1.25 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.2393, allocations: 32.12 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.0003649/0.2396, allocations: 34.52 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.00053/0.2402, allocations: 264.6 kB / 450.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.701e-05/0.2403, allocations: 105 kB / 450.4 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.2403, allocations: 16.48 kB / 450.4 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.2404, allocations: 18.12 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2404, allocations: 3.391 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005941/0.2463, allocations: 1.85 MB / 452.3 MB, free: 17.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.0073887668550014]