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.000822/0.000822, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002087, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007765/0.0007765, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001777, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9834/0.9834, allocations: 177.5 MB / 190.1 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09624/1.08, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.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.289/0.289, allocations: 34.89 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02612/0.3151, allocations: 13.24 MB / 292.8 MB, free: 6.387 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.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.432e-06/1.432e-06, allocations: 0 / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.345e-05, allocations: 5.531 kB / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002347/0.002371, allocations: 1.703 MB / 295.8 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000828/0.003199, allocations: 0.5601 MB / 296.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.003256, allocations: 0 / 296.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.003461, allocations: 103.5 kB / 296.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.004849, allocations: 111.5 kB / 296.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.00538, allocations: 123.5 kB / 296.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.005635, allocations: 83.77 kB / 296.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.005759, allocations: 11.98 kB / 296.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.005909, allocations: 67.83 kB / 296.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.006037, allocations: 47.88 kB / 296.9 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.006056, allocations: 4 kB / 296.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.006202, allocations: 47.86 kB / 297 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.006265, allocations: 27.86 kB / 297 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.006301, allocations: 11.94 kB / 297 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.006535, allocations: 87.67 kB / 297.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-05/0.006554, allocations: 0 / 297.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.006556, allocations: 0 / 297.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.006569, allocations: 0 / 297.1 MB, free: 2.062 MB / 282.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.0005679/0.007137, allocations: 341 kB / 297.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.007176, allocations: 15.44 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.007216, allocations: 12.92 kB / 297.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.007387, allocations: 145.5 kB / 297.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.007399, allocations: 8.375 kB / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.007422, allocations: 384 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.007533, allocations: 50.95 kB / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.007543, allocations: 192 / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.007552, allocations: 8.375 kB / 297.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007559, allocations: 384 / 297.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.007588, allocations: 11.92 kB / 297.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.007866, allocations: 191 kB / 297.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.498e-05/0.007931, allocations: 29.39 kB / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.00795, allocations: 8.859 kB / 297.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.007968, allocations: 0 / 297.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.007993, allocations: 34.56 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.007994, allocations: 0 / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005523/0.008546, allocations: 157.4 kB / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.00858, allocations: 55.41 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.008733, allocations: 188.2 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.008749, allocations: 29.7 kB / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.008791, allocations: 96.06 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.00882, allocations: 23.8 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.008859, allocations: 25.69 kB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.008957, allocations: 326.8 kB / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.008974, allocations: 4 kB / 298.8 MB, free: 188 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.00899, allocations: 8 kB / 298.8 MB, free: 180 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.009039, allocations: 31.66 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.009039, allocations: 0 / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.9e-05/0.009128, allocations: 61.56 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.009144, allocations: 8 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.009148, allocations: 0 / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.009162, allocations: 3.984 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.009248, allocations: 12 kB / 299 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009253, allocations: 4 kB / 299 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.009282, allocations: 7.984 kB / 299 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.009289, allocations: 0 / 299 MB, free: 40 kB / 282.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 9.029e-05/0.009379, allocations: 116.7 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.009414, allocations: 15.92 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.009552, allocations: 83.34 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009555, allocations: 432 / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.009556, allocations: 0 / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009559, allocations: 0 / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.009878, allocations: 271.5 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.00988, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.009946, allocations: 19.97 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.00996, allocations: 11.91 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.009965, allocations: 4 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.009971, allocations: 0 / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.009973, allocations: 4.031 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009974, allocations: 0 / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.01009, allocations: 168.3 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.01011, allocations: 3.938 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.01017, allocations: 4 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.0102, allocations: 7.984 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.0102, allocations: 4 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.822e-05/0.01027, allocations: 64.67 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01027, allocations: 0 / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.0105, allocations: 23.98 kB / 299.8 MB, free: 15.19 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.002057/0.01256, allocations: 0.6127 MB / 300.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.01266, allocations: 32.84 kB / 300.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01266, allocations: 4 kB / 300.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.01271, allocations: 32.77 kB / 300.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.01299, allocations: 83.33 kB / 300.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.01359, allocations: 248.3 kB / 300.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.01365, allocations: 75.33 kB / 300.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.0137, allocations: 8.812 kB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.01377, allocations: 67.36 kB / 300.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01377, allocations: 0 / 300.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Templates: time 0.004106/0.01788, allocations: 1.527 MB / 302.4 MB, free: 12.77 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9275466203689575]