Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001135/0.001135, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001696/0.001696, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.613 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.2448/0.2448, allocations: 34.88 MB / 296.6 MB, free: 440 kB / 266.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.831e-05, allocations: 2.312 kB / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002009/0.002028, allocations: 1.756 MB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.003661, allocations: 1.733 MB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.003728, allocations: 0 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.003984, allocations: 31.77 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.00426, allocations: 107.5 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.004395, allocations: 87.53 kB / 382.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.004534, allocations: 99.7 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.004614, allocations: 15.97 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.004688, allocations: 55.78 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004789, allocations: 35.89 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.004806, allocations: 8 kB / 382.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.00499, allocations: 99.81 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.005037, allocations: 19.92 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.005076, allocations: 23.91 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.005288, allocations: 167.4 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005291, allocations: 0 / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005291, allocations: 0 / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.005295, allocations: 0 / 383.1 MB, free: 14.04 MB / 362.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.0004553/0.00575, allocations: 455.8 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.005781, allocations: 8.031 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.005829, allocations: 12.89 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.005993, allocations: 148.9 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.00601, allocations: 4.375 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.006028, allocations: 384 / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.006171, allocations: 124 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006182, allocations: 7.891 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006191, allocations: 0 / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.006199, allocations: 3.984 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.006231, allocations: 8 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.006495, allocations: 287.7 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.382e-05/0.006589, allocations: 55.16 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.006617, allocations: 19.61 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.006628, allocations: 4 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.828e-05/0.006726, allocations: 76.98 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006727, allocations: 0 / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003527/0.00708, allocations: 141.5 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.007234, allocations: 85.05 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.00736, allocations: 219.3 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.007371, allocations: 25.7 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.007415, allocations: 138.9 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.00744, allocations: 27.78 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.007472, allocations: 31.38 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.007574, allocations: 0.4923 MB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.007598, allocations: 15.98 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.007644, allocations: 68.75 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.007699, allocations: 51.25 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.0077, allocations: 0 / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001011/0.007801, allocations: 97.56 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.007811, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007816, allocations: 7.938 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007827, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.00789, allocations: 15.94 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007894, allocations: 4.062 kB / 385.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.007924, allocations: 7.984 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.007931, allocations: 8 kB / 385.7 MB, free: 11.18 MB / 362.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 6.379e-05/0.007995, allocations: 162.9 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.008011, allocations: 11.95 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.008149, allocations: 106.5 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00815, allocations: 0 / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008153, allocations: 384 / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008157, allocations: 0 / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.008432, allocations: 404.9 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008433, allocations: 0 / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.008458, allocations: 11.98 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.00846, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.008468, allocations: 4 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.008469, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00847, allocations: 3.938 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.008608, allocations: 255.4 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.008619, allocations: 7.953 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.008639, allocations: 11.98 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.008681, allocations: 0 / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.00871, allocations: 12.02 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.008722, allocations: 8 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.008791, allocations: 161.5 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008791, allocations: 0 / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000192/0.008983, allocations: 51.86 kB / 386.9 MB, free: 9.902 MB / 362.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.001025/0.01001, allocations: 0.533 MB / 387.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.01012, allocations: 51.61 kB / 387.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01012, allocations: 0 / 387.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.01016, allocations: 35.73 kB / 387.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.01037, allocations: 31.97 kB / 387.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.01067, allocations: 201.9 kB / 387.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.01071, allocations: 63.34 kB / 387.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01075, allocations: 16.95 kB / 387.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.01078, allocations: 24.48 kB / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01078, allocations: 0 / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of Templates: time 0.003972/0.01476, allocations: 2.537 MB / 390.4 MB, free: 6.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.098503947025165]