Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009417/0.0009417, 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.001548/0.001548, allocations: 167.5 kB / 24.99 MB, free: 9.32 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.9393/0.9393, allocations: 177 MB / 205.2 MB, free: 5.148 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.2587/0.2587, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.35e-05, allocations: 9.062 kB / 378.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00297/0.002994, allocations: 1.941 MB / 380.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.004726, allocations: 1.106 MB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.004838, allocations: 0 / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.005233, allocations: 159.3 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.005668, allocations: 191.2 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005944, allocations: 123.5 kB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.00626, allocations: 251.2 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.006369, allocations: 17.95 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.006552, allocations: 135.6 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.006718, allocations: 135.7 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.006741, allocations: 8 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.006866, allocations: 63.92 kB / 383 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.006944, allocations: 51.77 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.007013, allocations: 47.78 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.007286, allocations: 183.2 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.007289, allocations: 0 / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.007291, allocations: 0 / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007295, allocations: 4 kB / 383.2 MB, free: 13.87 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006559/0.007951, allocations: 0.573 MB / 383.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.007994, allocations: 8.031 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/0.008077, allocations: 36.78 kB / 383.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.008367, allocations: 216.6 kB / 384.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.008391, allocations: 8.375 kB / 384.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.008418, allocations: 4.375 kB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.008644, allocations: 123.1 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.008657, allocations: 192 / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.008672, allocations: 8.375 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.008683, allocations: 7.938 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.008761, allocations: 31.95 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.009289, allocations: 498.5 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.009584, allocations: 118.1 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.00965, allocations: 43.42 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.009664, allocations: 4 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.00984, allocations: 123.9 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.009841, allocations: 4 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001041/0.01088, allocations: 449.7 kB / 385.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.01093, allocations: 81.11 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01124, allocations: 354.3 kB / 385.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01126, allocations: 33.7 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01137, allocations: 203.3 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.01143, allocations: 71.44 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.0115, allocations: 51.36 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.01166, allocations: 0.5274 MB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.01173, allocations: 31.98 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.01183, allocations: 76.91 kB / 386.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.01202, allocations: 130.8 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01202, allocations: 0 / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003087/0.01233, allocations: 201.3 kB / 387.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.01234, allocations: 4 kB / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01235, allocations: 4.141 kB / 387.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01236, allocations: 7.938 kB / 387.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.0125, allocations: 39.92 kB / 387.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01251, allocations: 7.984 kB / 387.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.01258, allocations: 15.92 kB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01259, allocations: 8 kB / 387.3 MB, free: 9.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000105/0.0127, allocations: 168.5 kB / 387.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.01275, allocations: 43.77 kB / 387.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.01313, allocations: 223.3 kB / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01313, allocations: 8 kB / 387.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01313, allocations: 0 / 387.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.01314, allocations: 7.984 kB / 387.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.01387, allocations: 0.7333 MB / 388.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01387, allocations: 4 kB / 388.5 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.01396, allocations: 39.86 kB / 388.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01397, allocations: 0 / 388.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.01399, allocations: 11.98 kB / 388.5 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01399, allocations: 4.125 kB / 388.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01399, allocations: 4 kB / 388.5 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.01442, allocations: 0.5066 MB / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.01445, allocations: 31.8 kB / 389.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.01449, allocations: 8 kB / 389.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.01463, allocations: 8 kB / 389.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.01468, allocations: 19.97 kB / 389.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.0147, allocations: 11.98 kB / 389.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.01492, allocations: 250.9 kB / 389.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.01492, allocations: 0 / 389.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.01532, allocations: 59.92 kB / 389.4 MB, free: 7.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001453/0.01677, allocations: 472 kB / 389.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.01704, allocations: 127.5 kB / 390 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01704, allocations: 4.062 kB / 390 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01716, allocations: 80.94 kB / 390.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.01768, allocations: 68.69 kB / 390.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.0184, allocations: 481.4 kB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.01848, allocations: 92.3 kB / 390.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.361e-05/0.01857, allocations: 42.16 kB / 390.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.01863, allocations: 32.5 kB / 390.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01864, allocations: 0 / 390.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of Templates: time 0.006874/0.02551, allocations: 3.326 MB / 394.1 MB, free: 2.738 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.13900816696696]