Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.000975/0.000975, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009411/0.0009411, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.931/0.931, allocations: 177 MB / 205.2 MB, free: 5.039 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.2601/0.2601, allocations: 34.85 MB / 296.6 MB, free: 392 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.301e-05, allocations: 3.406 kB / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003119/0.003142, allocations: 1.657 MB / 327.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004163, allocations: 0.5563 MB / 328.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.004225, allocations: 0 / 328.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.004529, allocations: 95.61 kB / 328.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.004873, allocations: 111.6 kB / 328.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.005202, allocations: 115.6 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.005373, allocations: 83.75 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.005462, allocations: 19.98 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.005543, allocations: 51.88 kB / 328.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.005638, allocations: 39.89 kB / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.005654, allocations: 4 kB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.00576, allocations: 47.91 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.005806, allocations: 19.94 kB / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.005837, allocations: 19.86 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.006014, allocations: 103.6 kB / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006016, allocations: 0 / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006017, allocations: 0 / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006021, allocations: 0 / 328.8 MB, free: 4.18 MB / 298.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.000512/0.006533, allocations: 322.2 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.006571, allocations: 12.03 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.006603, allocations: 8.922 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.006756, allocations: 141.6 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.006766, allocations: 4.375 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.006786, allocations: 4.312 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.006886, allocations: 62.94 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.006898, allocations: 8.125 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.006906, allocations: 4.375 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.006911, allocations: 384 / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.00694, allocations: 11.92 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.007193, allocations: 175.2 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.007253, allocations: 37.33 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.007272, allocations: 8.859 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.007287, allocations: 0 / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.00731, allocations: 34.56 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.007311, allocations: 4 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005043/0.007815, allocations: 141.5 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.00785, allocations: 59.39 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.007994, allocations: 188.2 kB / 330 MB, free: 2.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.00801, allocations: 29.7 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.008054, allocations: 104 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.00808, allocations: 23.8 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.008121, allocations: 21.69 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.008209, allocations: 326.8 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.008227, allocations: 4 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.008245, allocations: 7.984 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.008292, allocations: 31.66 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.008293, allocations: 0 / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.372e-05/0.008387, allocations: 65.84 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.0084, allocations: 7.984 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008404, allocations: 3.938 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008416, allocations: 3.938 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.008493, allocations: 12 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.008495, allocations: 4 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.008524, allocations: 7.984 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.008531, allocations: 4 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.119e-05/0.008603, allocations: 112.7 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.008636, allocations: 11.94 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.008775, allocations: 79.02 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.008777, allocations: 0 / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.008778, allocations: 0 / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008782, allocations: 0 / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.009098, allocations: 259.5 kB / 331.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0091, allocations: 4.031 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.009155, allocations: 16 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009158, allocations: 0 / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.009167, allocations: 7.984 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009169, allocations: 0 / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.00917, allocations: 0 / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.009286, allocations: 164.2 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.0093, allocations: 11.91 kB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.009317, allocations: 8 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.009374, allocations: 0 / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.009403, allocations: 11.98 kB / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.009409, allocations: 432 / 331.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.009473, allocations: 55.64 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009474, allocations: 0 / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.009724, allocations: 23.94 kB / 331.4 MB, free: 1.348 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001643/0.01137, allocations: 0.569 MB / 332 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.01147, allocations: 32.78 kB / 332 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.01147, allocations: 0 / 332 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.01151, allocations: 24.78 kB / 332.1 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01174, allocations: 26.88 kB / 332.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.01213, allocations: 247.7 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.01218, allocations: 75.41 kB / 332.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.01223, allocations: 13.03 kB / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.01229, allocations: 55.38 kB / 332.5 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01229, allocations: 0 / 332.5 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of Templates: time 0.004098/0.01639, allocations: 1.522 MB / 334 MB, free: 15.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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: 2.8007021783851087]