Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001169/0.001169, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001335/0.001335, allocations: 163 kB / 25.61 MB, free: 8.582 MB / 18.57 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.115/1.115, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.1752/0.1752, allocations: 34.88 MB / 297.4 MB, free: 13.36 MB / 282.7 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.883e-05, allocations: 3.859 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002565/0.002594, allocations: 1.748 MB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.0039, allocations: 0.993 MB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.004018, allocations: 7.938 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.004391, allocations: 47.75 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.004698, allocations: 107.5 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.004888, allocations: 79.66 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.005032, allocations: 111.6 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.005122, allocations: 7.984 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.005203, allocations: 55.83 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.005276, allocations: 31.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.005292, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.041e-05/0.005372, allocations: 51.84 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.005422, allocations: 31.86 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.005459, allocations: 15.94 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.005633, allocations: 119.6 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005635, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005636, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.005641, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 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.0004309/0.006072, allocations: 475.6 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.006107, allocations: 8.031 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.006145, allocations: 28.73 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.00629, allocations: 168.3 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.006308, allocations: 384 / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.006326, allocations: 4.375 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.006438, allocations: 62.92 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006448, allocations: 192 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.006456, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006463, allocations: 7.938 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.006489, allocations: 7.984 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.006737, allocations: 272.3 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.006818, allocations: 55.09 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.006838, allocations: 19.67 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.006851, allocations: 4 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.399e-05/0.006935, allocations: 60.98 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.006936, allocations: 0 / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000303/0.007239, allocations: 149.4 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.007261, allocations: 55.41 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007361, allocations: 282.7 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.00737, allocations: 33.7 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.007412, allocations: 166.8 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.007433, allocations: 19.86 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.007461, allocations: 35.34 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.007511, allocations: 0.504 MB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.007527, allocations: 12.36 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.007548, allocations: 27.36 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.007584, allocations: 51.36 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.007586, allocations: 4 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.006e-05/0.007666, allocations: 89.53 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.007675, allocations: 8 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007679, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.007687, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.007745, allocations: 19.92 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007748, allocations: 4 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.007775, allocations: 0 / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.007781, allocations: 4 kB / 386.1 MB, free: 16.44 MB / 314.7 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 5.184e-05/0.007833, allocations: 166.2 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.007848, allocations: 23.8 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.007971, allocations: 107.1 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007973, allocations: 4 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007974, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007978, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.008173, allocations: 377.5 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008174, allocations: 0 / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.008199, allocations: 8 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.008201, allocations: 0 / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008207, allocations: 8 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.00821, allocations: 7.875 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008211, allocations: 4.031 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.914e-05/0.0083, allocations: 255.4 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.008311, allocations: 11.91 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008327, allocations: 7.984 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.008367, allocations: 4 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.00839, allocations: 7.984 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.0084, allocations: 4 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.111e-05/0.008451, allocations: 187.1 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008451, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.008616, allocations: 27.94 kB / 387.3 MB, free: 15.17 MB / 314.7 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.0007875/0.009403, allocations: 443 kB / 387.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.009488, allocations: 47.59 kB / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009489, allocations: 0 / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.009518, allocations: 35.61 kB / 387.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.009727, allocations: 35.91 kB / 387.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.01001, allocations: 260.5 kB / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.01004, allocations: 75.19 kB / 388.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.01007, allocations: 16.97 kB / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.01012, allocations: 90.19 kB / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01012, allocations: 0 / 388.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003345/0.01347, allocations: 2.096 MB / 390.4 MB, free: 12.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.723585521802306]