Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001126/0.001126, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001798/0.001798, allocations: 160.5 kB / 24.55 MB, free: 20 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.084/1.084, allocations: 177 MB / 204.8 MB, free: 5.586 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.2644/0.2644, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.863e-05, allocations: 2.312 kB / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002591/0.00262, allocations: 1.757 MB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004157, allocations: 1.016 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.004243, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.004568, allocations: 55.62 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.004885, allocations: 107.5 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.005092, allocations: 79.61 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.005257, allocations: 107.6 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.00535, allocations: 8 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.005441, allocations: 63.75 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.005507, allocations: 19.92 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.005522, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.005609, allocations: 47.91 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.005663, allocations: 27.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.005704, allocations: 23.86 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.005886, allocations: 103.6 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005889, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00589, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005894, allocations: 0 / 382.3 MB, free: 14.59 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.0004598/0.006354, allocations: 467.7 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.006391, allocations: 8.031 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.006449, allocations: 20.78 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.006637, allocations: 157.2 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.006656, allocations: 4.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.006685, allocations: 12.36 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006817, allocations: 62.88 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.006826, allocations: 192 / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.006836, allocations: 384 / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.006851, allocations: 7.938 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.006886, allocations: 7.984 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.007255, allocations: 299.8 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.007365, allocations: 51.11 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.007396, allocations: 23.69 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.007411, allocations: 0 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.007524, allocations: 68.98 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.007525, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003894/0.007915, allocations: 165.3 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.007944, allocations: 51.41 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.008102, allocations: 259.1 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.008116, allocations: 25.7 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.008186, allocations: 162.9 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.008214, allocations: 23.78 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.008249, allocations: 31.38 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.008375, allocations: 0.5001 MB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.008405, allocations: 15.92 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.008444, allocations: 39.3 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.008503, allocations: 43.38 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008504, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001192/0.008623, allocations: 105.4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.008637, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008641, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.008654, allocations: 4.031 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.008728, allocations: 12 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.008733, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.008764, allocations: 8.359 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.00877, allocations: 4 kB / 384.9 MB, free: 11.76 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.726e-05/0.008848, allocations: 164.5 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.008865, allocations: 19.84 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.009016, allocations: 107.1 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00902, allocations: 8 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.009023, allocations: 0 / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009027, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.009329, allocations: 404.9 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009331, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.009362, allocations: 12 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.009364, allocations: 0 / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.009372, allocations: 4 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.009374, allocations: 0 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009375, allocations: 0 / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.00952, allocations: 259.4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.009534, allocations: 19.92 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.009552, allocations: 8 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.009595, allocations: 3.984 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.009626, allocations: 7.984 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.009639, allocations: 4 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.318e-05/0.009732, allocations: 183.1 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009732, allocations: 0 / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001779/0.00991, allocations: 27.94 kB / 386.1 MB, free: 10.46 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.001023/0.01093, allocations: 426.6 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.01106, allocations: 63.53 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01106, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.0111, allocations: 31.67 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.01135, allocations: 27.98 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.01172, allocations: 245.4 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01176, allocations: 75.33 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.0118, allocations: 21.34 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01184, allocations: 20.48 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01184, allocations: 0 / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of Templates: time 0.003698/0.01554, allocations: 1.873 MB / 388.8 MB, free: 7.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.326765079051256]