Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.0019/0.0019, allocations: 86.02 kB / 20.68 MB, free: 1.039 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.00196/0.00196, allocations: 158.2 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.543/1.543, allocations: 177 MB / 204.1 MB, free: 9.184 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.2228/0.2228, allocations: 34.25 MB / 294.8 MB, free: 14.56 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 442.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.76e-05, allocations: 4.812 kB / 442.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003836/0.003874, allocations: 1.723 MB / 444.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.005902, allocations: 0.9697 MB / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.00602, allocations: 0 / 445.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.006362, allocations: 39.77 kB / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.006767, allocations: 95.47 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.007033, allocations: 87.53 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.007258, allocations: 107.7 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.007369, allocations: 4 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.007501, allocations: 59.77 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.007588, allocations: 27.91 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.007612, allocations: 4 kB / 445.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.007739, allocations: 39.98 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.007809, allocations: 27.84 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.007862, allocations: 15.94 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.008169, allocations: 119.6 kB / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.008175, allocations: 0 / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008177, allocations: 0 / 446 MB, free: 1.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.008188, allocations: 0 / 446 MB, free: 1.91 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.0007437/0.008932, allocations: 353.4 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.008981, allocations: 12.03 kB / 446.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.009059, allocations: 12.84 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.009406, allocations: 154.9 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.009419, allocations: 384 / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.00945, allocations: 4.375 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.00965, allocations: 54.23 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.009666, allocations: 192 / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.009679, allocations: 384 / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.009691, allocations: 7.938 kB / 446.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/0.00978, allocations: 15.98 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.01022, allocations: 240.5 kB / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.01044, allocations: 62.67 kB / 446.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.01051, allocations: 20.84 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01053, allocations: 0 / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.01074, allocations: 75.27 kB / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.01074, allocations: 0 / 447 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007184/0.01146, allocations: 185.4 kB / 447.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.01154, allocations: 63.34 kB / 447.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.01181, allocations: 202.2 kB / 447.5 MB, free: 344 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.01183, allocations: 25.7 kB / 447.5 MB, free: 312 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.01192, allocations: 104.1 kB / 447.6 MB, free: 204 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.01196, allocations: 23.78 kB / 447.6 MB, free: 180 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.01204, allocations: 25.72 kB / 447.7 MB, free: 148 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1998/0.2118, allocations: 322.8 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.212, allocations: 18.58 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.2121, allocations: 37.59 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.2122, allocations: 62.5 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2122, allocations: 1.094 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002425/0.2124, allocations: 109.7 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2125, allocations: 8.156 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2125, allocations: 5.172 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2125, allocations: 1.75 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2126, allocations: 16.31 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2126, allocations: 5.344 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.2127, allocations: 8.875 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2127, allocations: 4.078 kB / 448.2 MB, free: 18.93 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 9.533e-05/0.2128, allocations: 127.8 kB / 448.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2128, allocations: 10.89 kB / 448.4 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.2131, allocations: 126.7 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2131, allocations: 5 kB / 448.5 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2131, allocations: 5.688 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2131, allocations: 0 / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.2135, allocations: 346.5 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2135, allocations: 1.594 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.2135, allocations: 9.141 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2135, allocations: 1.844 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2135, allocations: 12.69 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2135, allocations: 1.219 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2135, allocations: 2.281 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2137, allocations: 211 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.2138, allocations: 12.72 kB / 449.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2138, allocations: 9.516 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2139, allocations: 3.969 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2139, allocations: 14.31 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2139, allocations: 4.859 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.214, allocations: 152.8 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.214, allocations: 0 / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2143, allocations: 25.2 kB / 449.3 MB, free: 18.32 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.001791/0.2161, allocations: 487.2 kB / 449.8 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2163, allocations: 59.47 kB / 449.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2163, allocations: 1.062 kB / 449.8 MB, free: 18.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.2164, allocations: 30.08 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2167, allocations: 27.12 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.2172, allocations: 242.3 kB / 450.1 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.196e-05/0.2173, allocations: 96.8 kB / 450.2 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.163e-05/0.2173, allocations: 17.5 kB / 450.2 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.2174, allocations: 17.92 kB / 450.3 MB, free: 17.85 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2174, allocations: 0 / 450.3 MB, free: 17.85 MB / 366.1 MB Notification: Performance of Templates: time 0.005399/0.2228, allocations: 1.859 MB / 452.1 MB, free: 17.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.227563876658678]