Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001134/0.001134, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001058/0.001058, allocations: 165.8 kB / 25.61 MB, free: 8.895 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.097/1.097, allocations: 177 MB / 205.9 MB, free: 4.449 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.1595/0.1595, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.425e-05, allocations: 4.031 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002078/0.002102, allocations: 1.699 MB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003132, allocations: 0.9813 MB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.003226, allocations: 0 / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.003555, allocations: 55.73 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.003875, allocations: 107.4 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.004077, allocations: 79.59 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004227, allocations: 103.7 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.004269, allocations: 12.23 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.004354, allocations: 51.78 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.004441, allocations: 43.88 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004455, allocations: 4 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.004523, allocations: 28 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.004567, allocations: 23.86 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.004601, allocations: 27.91 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004751, allocations: 79.69 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.004754, allocations: 0 / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004755, allocations: 0 / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00476, allocations: 4 kB / 383.4 MB, free: 19.36 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.0003651/0.005125, allocations: 439.9 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.005156, allocations: 8.031 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.005191, allocations: 12.89 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.005317, allocations: 149.1 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.005339, allocations: 384 / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.005346, allocations: 4.375 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.005444, allocations: 54.94 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005453, allocations: 4.188 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.00546, allocations: 384 / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005467, allocations: 7.938 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.005489, allocations: 11.92 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.005591, allocations: 113.3 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.00567, allocations: 47.09 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.005687, allocations: 15.62 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.005699, allocations: 4 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.463e-05/0.005784, allocations: 61 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.005785, allocations: 4 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001574/0.005942, allocations: 85.56 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.005967, allocations: 51.41 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.006051, allocations: 231.8 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006061, allocations: 25.7 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.006092, allocations: 146.9 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.006122, allocations: 23.83 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.006149, allocations: 23.36 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.006195, allocations: 0.4923 MB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.006211, allocations: 8 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.006233, allocations: 31.34 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.006285, allocations: 43.3 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006287, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.037e-05/0.006357, allocations: 65.58 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.006369, allocations: 8 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006374, allocations: 0 / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.006384, allocations: 3.984 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.006448, allocations: 8 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006452, allocations: 7.938 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.006485, allocations: 3.953 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.00649, allocations: 4 kB / 385.5 MB, free: 16.98 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 5.973e-05/0.00655, allocations: 164.6 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.006564, allocations: 12.27 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.006672, allocations: 86.77 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.006673, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006675, allocations: 0 / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.00668, allocations: 3.938 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.528e-05/0.006755, allocations: 113.2 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006756, allocations: 4 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.006785, allocations: 7.984 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006787, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.006793, allocations: 4 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006794, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006796, allocations: 3.938 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.557e-05/0.006882, allocations: 124.2 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.006897, allocations: 7.938 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.006912, allocations: 4 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.006934, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.006966, allocations: 7.984 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.00698, allocations: 4 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.007023, allocations: 155.8 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007023, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.007181, allocations: 19.94 kB / 386.3 MB, free: 16.2 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.0008032/0.007984, allocations: 374.4 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.008076, allocations: 43.61 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008078, allocations: 0 / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.008102, allocations: 23.67 kB / 386.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.008292, allocations: 34.97 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.008558, allocations: 184 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.413e-05/0.008582, allocations: 67.33 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.008619, allocations: 16.48 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.008678, allocations: 94.25 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008679, allocations: 0 / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of Templates: time 0.003364/0.01204, allocations: 1.8 MB / 388.9 MB, free: 13.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.470390780363232]