Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009435/0.0009435, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001011/0.001011, allocations: 165.4 kB / 24.82 MB, free: 9.324 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 0.9589/0.9589, allocations: 177 MB / 205.1 MB, free: 5.477 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.2427/0.2427, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.523e-05, allocations: 2.875 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002491/0.002506, allocations: 1.748 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.004183, allocations: 1.741 MB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.004268, allocations: 0 / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.004529, allocations: 31.77 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.004853, allocations: 107.5 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.005033, allocations: 79.55 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.005178, allocations: 115.6 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.005256, allocations: 4 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.005339, allocations: 63.83 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.00543, allocations: 31.89 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.005447, allocations: 8 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.005599, allocations: 103.8 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.005645, allocations: 23.92 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.005675, allocations: 27.84 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.005871, allocations: 151.5 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005872, allocations: 0 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005873, allocations: 0 / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005877, allocations: 0 / 383.5 MB, free: 13.48 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.0004071/0.006284, allocations: 455.7 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.006319, allocations: 12.03 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.00635, allocations: 12.89 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.006494, allocations: 157 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.006508, allocations: 384 / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.006525, allocations: 4.375 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.00664, allocations: 104 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.00665, allocations: 11.88 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.006657, allocations: 0 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.006662, allocations: 0 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.006686, allocations: 15.92 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.006905, allocations: 260.4 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.006984, allocations: 51.16 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.007009, allocations: 15.69 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.007024, allocations: 3.938 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.565e-05/0.00711, allocations: 72.97 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.007111, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002882/0.007399, allocations: 133.4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.007433, allocations: 81.09 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.007548, allocations: 211.3 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.007564, allocations: 33.7 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.007616, allocations: 146.8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.007642, allocations: 19.8 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.007678, allocations: 31.36 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.0078, allocations: 0.4884 MB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.007817, allocations: 11.98 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.00786, allocations: 73.11 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.007905, allocations: 43.31 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007906, allocations: 0 / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.00801, allocations: 109.4 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008022, allocations: 4 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008026, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008039, allocations: 4 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.008096, allocations: 12 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.008099, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.008131, allocations: 7.984 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.008136, allocations: 0 / 386.1 MB, free: 10.69 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 7.537e-05/0.008211, allocations: 164.5 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.008228, allocations: 19.92 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.008358, allocations: 94.44 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.00836, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008362, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008365, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.008624, allocations: 365.5 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.008627, allocations: 4 kB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.008652, allocations: 11.94 kB / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008654, allocations: 0 / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008661, allocations: 4 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008662, allocations: 4.031 kB / 386.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008664, allocations: 0 / 386.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.008797, allocations: 251.4 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.008812, allocations: 15.94 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.008826, allocations: 4 kB / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.008866, allocations: 0 / 387 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.008891, allocations: 7.984 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.008903, allocations: 8 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.00896, allocations: 153.6 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00896, allocations: 0 / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.009155, allocations: 51.86 kB / 387.2 MB, free: 9.473 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.001043/0.0102, allocations: 0.5326 MB / 387.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.0103, allocations: 55.58 kB / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.0103, allocations: 0 / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.01034, allocations: 31.61 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01055, allocations: 38.98 kB / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.0111, allocations: 197.9 kB / 388.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.01113, allocations: 67.47 kB / 388.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.031e-05/0.01118, allocations: 28.95 kB / 388.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.01125, allocations: 98.11 kB / 388.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01125, allocations: 0 / 388.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of Templates: time 0.004009/0.01526, allocations: 2.776 MB / 391 MB, free: 5.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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: 2.9585414878092706]