Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001322/0.001322, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001448/0.001448, allocations: 162.6 kB / 25.61 MB, free: 8.551 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.112/1.112, allocations: 177 MB / 205.9 MB, free: 4.43 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.2009/0.2009, allocations: 34.88 MB / 297.4 MB, free: 13.31 MB / 282.7 MB " [Timeout remaining time 179] 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.969e-05/4.251e-05, allocations: 4.875 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003178/0.003221, allocations: 1.715 MB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004678, allocations: 0.9736 MB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.004803, allocations: 11.94 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.005198, allocations: 43.81 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.005586, allocations: 103.5 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.005844, allocations: 79.59 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.006052, allocations: 107.7 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.006121, allocations: 4.234 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.006234, allocations: 51.77 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.006342, allocations: 23.92 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.006362, allocations: 4 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.006454, allocations: 35.92 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.006525, allocations: 31.84 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.006569, allocations: 19.92 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.006798, allocations: 103.6 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.006804, allocations: 3.938 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006806, allocations: 4 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.006814, allocations: 0 / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005122/0.007326, allocations: 467.7 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.007372, allocations: 12.03 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.007421, allocations: 12.84 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.007595, allocations: 161.3 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.007614, allocations: 384 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.007625, allocations: 4.375 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.007761, allocations: 62.88 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.007771, allocations: 192 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.007779, allocations: 4.375 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.007787, allocations: 3.938 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.007812, allocations: 7.984 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.007952, allocations: 121.3 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.93e-05/0.008052, allocations: 43.11 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.008076, allocations: 15.67 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.008091, allocations: 4 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.008195, allocations: 60.98 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.008196, allocations: 0 / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000187/0.008383, allocations: 89.58 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.008412, allocations: 51.41 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.008532, allocations: 277.4 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.008545, allocations: 29.7 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.008594, allocations: 166.8 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.008634, allocations: 7.906 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.008668, allocations: 39.28 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.00875, allocations: 0.5039 MB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.008773, allocations: 8 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.0088, allocations: 23.36 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.008845, allocations: 39.36 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008847, allocations: 0 / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.228e-05/0.008939, allocations: 73.84 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.008955, allocations: 5.719 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.008962, allocations: 4 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.008974, allocations: 4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.00905, allocations: 11.98 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.009055, allocations: 3.938 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.009089, allocations: 8 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.009095, allocations: 4.031 kB / 385.7 MB, free: 16.82 MB / 314.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 (7): * Single equations (assignments): 7 * 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.867e-05/0.009174, allocations: 164.5 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.00919, allocations: 15.91 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.009321, allocations: 82.81 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.009324, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.009327, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.009333, allocations: 3.938 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.009426, allocations: 125.2 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009428, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.009455, allocations: 8 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.009458, allocations: 8 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.009464, allocations: 0 / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009466, allocations: 0 / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009468, allocations: 0 / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.443e-05/0.009562, allocations: 124.2 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.009581, allocations: 15.84 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.0096, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.00963, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.009664, allocations: 7.984 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.009683, allocations: 4 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.283e-05/0.009746, allocations: 188.5 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009746, allocations: 4 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.009904, allocations: 16 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009235/0.01083, allocations: 394.9 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.01095, allocations: 39.59 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01095, allocations: 0 / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.01098, allocations: 19.69 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.0112, allocations: 31.7 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.0116, allocations: 236.4 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.01163, allocations: 79.19 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.889e-05/0.01167, allocations: 16.53 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.01173, allocations: 90.19 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01173, allocations: 0 / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Templates: time 0.004353/0.01608, allocations: 1.818 MB / 389.1 MB, free: 13.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.8006820348091424]