Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001833/0.001833, allocations: 89.14 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.002155/0.002155, allocations: 158.8 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.609/1.609, allocations: 177 MB / 204.1 MB, free: 9.152 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.2237/0.2237, allocations: 34.26 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.393e-05, allocations: 2.281 kB / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00318/0.003214, allocations: 1.726 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.005255, allocations: 0.9735 MB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.005346, allocations: 8 kB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.005658, allocations: 39.75 kB / 445.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.00598, allocations: 91.55 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.006241, allocations: 83.59 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.006491, allocations: 111.6 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.006608, allocations: 4 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.00673, allocations: 63.75 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.006831, allocations: 23.92 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.006856, allocations: 4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.00698, allocations: 39.98 kB / 445.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.007058, allocations: 27.91 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.007117, allocations: 15.94 kB / 445.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.007384, allocations: 119.5 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.007386, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007387, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.007392, allocations: 0 / 446.1 MB, free: 1.863 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.0006968/0.008089, allocations: 345.6 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.008128, allocations: 8.031 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.008178, allocations: 12.84 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.008462, allocations: 154.9 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.008481, allocations: 12.31 kB / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.008501, allocations: 384 / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.008675, allocations: 54.23 kB / 446.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.008687, allocations: 4.188 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.008697, allocations: 384 / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.008704, allocations: 3.938 kB / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.008792, allocations: 23.97 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.009181, allocations: 228.6 kB / 446.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.009385, allocations: 66.61 kB / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.00945, allocations: 24.84 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.009467, allocations: 0 / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.009625, allocations: 75.27 kB / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.009626, allocations: 0 / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006193/0.01025, allocations: 185.3 kB / 447.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.0103, allocations: 55.41 kB / 447.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.01052, allocations: 202.2 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.01054, allocations: 33.7 kB / 447.5 MB, free: 264 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.01062, allocations: 96.14 kB / 447.6 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.01066, allocations: 31.78 kB / 447.6 MB, free: 132 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.01071, allocations: 25.72 kB / 447.7 MB, free: 100 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.198/0.2087, allocations: 323.4 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.2089, allocations: 19.69 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.2089, allocations: 39.22 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2091, allocations: 59.84 kB / 448.1 MB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2091, allocations: 0 / 448.1 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002526/0.2093, allocations: 111.6 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2094, allocations: 7.188 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2094, allocations: 0 / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2094, allocations: 1.859 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2095, allocations: 17.83 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2095, allocations: 1.094 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.2096, allocations: 7.953 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2096, allocations: 3.969 kB / 448.2 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 0.0001056/0.2097, allocations: 127.2 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.2097, allocations: 12.83 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.21, allocations: 123.9 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.21, allocations: 1.125 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.21, allocations: 5.125 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.21, allocations: 0.8438 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.2104, allocations: 352.9 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2104, allocations: 0.6094 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.2105, allocations: 16.75 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2105, allocations: 3.312 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2105, allocations: 5.938 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2105, allocations: 1.859 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2105, allocations: 1.281 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.2107, allocations: 212.1 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.2107, allocations: 18.11 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.2108, allocations: 6.844 kB / 449.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.2108, allocations: 2.891 kB / 449.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2109, allocations: 9.891 kB / 449.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2109, allocations: 8.078 kB / 449.1 MB, free: 18.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.211, allocations: 149.2 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.211, allocations: 0 / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.2113, allocations: 26.22 kB / 449.3 MB, free: 18.28 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.00178/0.213, allocations: 484.6 kB / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.2133, allocations: 61.16 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2133, allocations: 1.031 kB / 449.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.2133, allocations: 28.09 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2137, allocations: 35.73 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.2142, allocations: 240.4 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.716e-05/0.2143, allocations: 92.69 kB / 450.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.2143, allocations: 21.17 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.2144, allocations: 17.23 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2144, allocations: 1.094 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.00639/0.2208, allocations: 1.843 MB / 452.1 MB, free: 17.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.232824873179197]