Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001307/0.001307, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001557/0.001557, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.559 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.3241/0.3241, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.801e-05/4.008e-05, allocations: 6.953 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003527/0.003567, allocations: 1.772 MB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.005527, allocations: 1.733 MB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.005658, allocations: 0 / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.006105, allocations: 39.77 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.006542, allocations: 103.4 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.006775, allocations: 83.59 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.00696, allocations: 115.7 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.007071, allocations: 12 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.00718, allocations: 63.75 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.007309, allocations: 35.91 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.007329, allocations: 8 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.00753, allocations: 103.8 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.007588, allocations: 27.91 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.007634, allocations: 19.92 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.007904, allocations: 167.4 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.007909, allocations: 3.984 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.00791, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.007915, allocations: 0 / 383.1 MB, free: 13.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005719/0.008487, allocations: 467.7 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.008527, allocations: 8.031 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.008588, allocations: 16.89 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.008798, allocations: 152.4 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.008821, allocations: 8.375 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.008848, allocations: 4.375 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.00902, allocations: 108 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.00903, allocations: 192 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.009042, allocations: 4.359 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.009051, allocations: 11.88 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/0.009107, allocations: 23.92 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.009482, allocations: 291.7 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.00963, allocations: 67.14 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.009662, allocations: 15.69 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.009681, allocations: 7.984 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.009794, allocations: 72.92 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.009795, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000427/0.01022, allocations: 173.3 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.01026, allocations: 85.11 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01041, allocations: 220.1 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01042, allocations: 29.7 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.01048, allocations: 146.9 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.01051, allocations: 35.8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.01055, allocations: 27.38 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.01067, allocations: 0.4962 MB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.01071, allocations: 15.98 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.01076, allocations: 68.75 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.01083, allocations: 55.31 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01083, allocations: 8.031 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001321/0.01096, allocations: 97.5 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01098, allocations: 4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01098, allocations: 4 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01099, allocations: 0 / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.01107, allocations: 27.92 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01107, allocations: 0 / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.0111, allocations: 0 / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.01111, allocations: 4 kB / 385.8 MB, free: 10.73 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 (11): * Single equations (assignments): 11 * 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.86e-05/0.01119, allocations: 164.6 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.01121, allocations: 23.78 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.0114, allocations: 122.4 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01141, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01141, allocations: 4 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01141, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.01173, allocations: 401 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01173, allocations: 0 / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.01177, allocations: 15.98 kB / 386.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01177, allocations: 4 kB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01178, allocations: 8.031 kB / 386.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01178, allocations: 4 kB / 386.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.01179, allocations: 4.406 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01196, allocations: 275.4 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.01198, allocations: 15.89 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.012, allocations: 0 / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.01205, allocations: 8 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.01208, allocations: 7.984 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.0121, allocations: 4 kB / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.01218, allocations: 168 kB / 387 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01218, allocations: 4 kB / 387 MB, free: 9.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01242, allocations: 51.86 kB / 387.1 MB, free: 9.383 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 (11): * Single equations (assignments): 9 * 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.001112/0.01353, allocations: 0.538 MB / 387.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01368, allocations: 63.53 kB / 387.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01369, allocations: 0 / 387.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.01373, allocations: 39.61 kB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01398, allocations: 45.69 kB / 387.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.01434, allocations: 218.1 kB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.01438, allocations: 71.33 kB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.01443, allocations: 16.64 kB / 388.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.01447, allocations: 20.48 kB / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01447, allocations: 0 / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004479/0.01895, allocations: 2.655 MB / 390.8 MB, free: 5.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.5157029451802373]