Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0007489/0.0007489, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001843, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007027/0.0007027, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008822/0.001585, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9897/0.9897, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09592/1.086, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.3337/0.3337, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02726/0.361, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 293.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.251e-05, allocations: 4.703 kB / 293.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003118/0.00314, allocations: 1.679 MB / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.004141, allocations: 0.5601 MB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.004203, allocations: 0 / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.004521, allocations: 155.5 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.004816, allocations: 127.5 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.005097, allocations: 95.62 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.005302, allocations: 95.75 kB / 296.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.005421, allocations: 11.98 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.005578, allocations: 82.81 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.005716, allocations: 67.84 kB / 296.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.005733, allocations: 4 kB / 296.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.005857, allocations: 51.84 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.005914, allocations: 27.88 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.005949, allocations: 11.94 kB / 296.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.00615, allocations: 99.61 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.746e-05/0.006168, allocations: 0 / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006169, allocations: 0 / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.006187, allocations: 0 / 296.9 MB, free: 2.086 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.0004612/0.006648, allocations: 352.9 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.006683, allocations: 12.92 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.006722, allocations: 12.92 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.006891, allocations: 153.4 kB / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.006902, allocations: 384 / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.006925, allocations: 8.375 kB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.007046, allocations: 54.94 kB / 297.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.007057, allocations: 192 / 297.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.007066, allocations: 4.375 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.007074, allocations: 8.359 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.007102, allocations: 11.94 kB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.007365, allocations: 179 kB / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.007447, allocations: 34.52 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.007464, allocations: 8.938 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.007493, allocations: 4 kB / 297.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.007523, allocations: 34.56 kB / 297.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.007524, allocations: 0 / 297.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000622/0.008146, allocations: 153.4 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.008182, allocations: 55.41 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.008359, allocations: 210.9 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.008374, allocations: 29.7 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.008422, allocations: 100.1 kB / 298.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.008452, allocations: 27.73 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.008504, allocations: 17.72 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.008592, allocations: 330.8 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.008608, allocations: 4 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.008619, allocations: 8 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/0.008654, allocations: 28.83 kB / 298.8 MB, free: 124 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.008657, allocations: 7.984 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.754e-05/0.008724, allocations: 61.56 kB / 298.8 MB, free: 48 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.008739, allocations: 8 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.008743, allocations: 0 / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.008751, allocations: 0 / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.008827, allocations: 19.98 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.008829, allocations: 0 / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.008848, allocations: 3.984 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.008855, allocations: 4 kB / 298.9 MB, free: 12 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 6.814e-05/0.008923, allocations: 112.7 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.008943, allocations: 19.92 kB / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.009046, allocations: 71.39 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.00905, allocations: 4 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.009051, allocations: 0 / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009054, allocations: 0 / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.009292, allocations: 267.5 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.009295, allocations: 0 / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.009339, allocations: 15.98 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.00935, allocations: 12.33 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009354, allocations: 4 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.009359, allocations: 4.031 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.00936, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009362, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/0.009452, allocations: 172.2 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.009464, allocations: 7.984 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.009497, allocations: 7.984 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.009521, allocations: 4 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.009528, allocations: 4 kB / 299.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.419e-05/0.009582, allocations: 76.86 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009582, allocations: 0 / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000138/0.00972, allocations: 27.94 kB / 299.7 MB, free: 15.15 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.001349/0.01107, allocations: 0.6038 MB / 300.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.01115, allocations: 36.84 kB / 300.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.01115, allocations: 0 / 300.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.01117, allocations: 24.78 kB / 300.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01136, allocations: 38.83 kB / 300.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.01184, allocations: 257.5 kB / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.01188, allocations: 75.33 kB / 300.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.01192, allocations: 16.78 kB / 300.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.01197, allocations: 63.36 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01197, allocations: 0 / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003321/0.01529, allocations: 1.53 MB / 302.3 MB, free: 12.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.8715653782710433]