Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001861/0.001861, allocations: 85.58 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.002059/0.002059, allocations: 158.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.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.16 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.2602/0.2602, allocations: 34.25 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.46e-05, allocations: 2.281 kB / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.0033/0.003325, allocations: 1.718 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.00542, allocations: 0.9736 MB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.005518, allocations: 11.94 kB / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.005907, allocations: 43.81 kB / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.006278, allocations: 103.4 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.006485, allocations: 79.59 kB / 445.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.006692, allocations: 119.6 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.006791, allocations: 4 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.006901, allocations: 51.84 kB / 445.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.006992, allocations: 27.89 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.007016, allocations: 4 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.007123, allocations: 43.92 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.007207, allocations: 31.86 kB / 445.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.007263, allocations: 19.92 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.00751, allocations: 139.5 kB / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.007513, allocations: 0 / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.007514, allocations: 4 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007518, allocations: 0 / 446.1 MB, free: 1.812 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.0006263/0.008144, allocations: 365.3 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.008187, allocations: 12.03 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.008247, allocations: 20.78 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.008561, allocations: 162.4 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.008576, allocations: 384 / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.008604, allocations: 12.3 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.008779, allocations: 54.23 kB / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.008793, allocations: 192 / 446.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.008807, allocations: 8.375 kB / 446.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.008816, allocations: 7.938 kB / 446.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.008903, allocations: 15.98 kB / 446.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.009313, allocations: 236.6 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.009522, allocations: 62.61 kB / 447 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.009584, allocations: 20.84 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.009608, allocations: 7.984 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.009773, allocations: 71.31 kB / 447.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.009774, allocations: 4 kB / 447.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006364/0.01041, allocations: 201.2 kB / 447.3 MB, free: 464 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.01046, allocations: 51.41 kB / 447.4 MB, free: 400 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.01076, allocations: 275 kB / 447.7 MB, free: 116 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01078, allocations: 33.7 kB / 447.7 MB, free: 76 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1918/0.2026, allocations: 108.2 kB / 447.8 MB, free: 19.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.2027, allocations: 23.86 kB / 447.8 MB, free: 19.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.2027, allocations: 22.95 kB / 447.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.2028, allocations: 329.4 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2029, allocations: 21.3 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.203, allocations: 39.03 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.2031, allocations: 64.84 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2031, allocations: 1.062 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002581/0.2034, allocations: 118.4 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2034, allocations: 5.812 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2034, allocations: 0 / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.2034, allocations: 1.312 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2036, allocations: 15.31 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2036, allocations: 2.062 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.2036, allocations: 6.016 kB / 448.4 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2036, allocations: 2.844 kB / 448.4 MB, free: 18.87 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.0001069/0.2037, allocations: 138.9 kB / 448.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.2038, allocations: 21.58 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.204, allocations: 133.4 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2041, allocations: 5.125 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2041, allocations: 1.953 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2041, allocations: 0 / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.2045, allocations: 360.7 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2045, allocations: 0 / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.2045, allocations: 10.16 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2045, allocations: 9.062 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2046, allocations: 4.016 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2046, allocations: 1.984 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2046, allocations: 1.719 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.2048, allocations: 215.4 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.2048, allocations: 17.95 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.2048, allocations: 6.328 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.2049, allocations: 3.312 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.2049, allocations: 5.891 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.205, allocations: 5.25 kB / 449.4 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.2051, allocations: 212.7 kB / 449.6 MB, free: 18.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2051, allocations: 0 / 449.6 MB, free: 18.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2054, allocations: 27.81 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.001806/0.2072, allocations: 483.7 kB / 450.1 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2074, allocations: 60.98 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2074, allocations: 3.938 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.2075, allocations: 25.38 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.0003787/0.2079, allocations: 29.48 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.0005535/0.2084, allocations: 305.7 kB / 450.5 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.728e-05/0.2085, allocations: 109.7 kB / 450.6 MB, free: 17.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.2086, allocations: 17.28 kB / 450.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.2086, allocations: 24.3 kB / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2086, allocations: 0 / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of Templates: time 0.006019/0.2146, allocations: 1.866 MB / 452.5 MB, free: 17.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.961264003068209]