Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001193/0.001193, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001241/0.001241, allocations: 163.3 kB / 25.61 MB, free: 8.891 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.048/1.048, allocations: 177 MB / 205.9 MB, free: 4.453 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.1792/0.1792, allocations: 34.88 MB / 297.4 MB, free: 13.35 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.089e-05, allocations: 2.969 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.0052/0.005221, allocations: 1.691 MB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.005964, allocations: 0.5601 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.006023, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.006453, allocations: 459 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.006792, allocations: 299.1 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.00711, allocations: 175.5 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.007287, allocations: 183.6 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.007378, allocations: 15.98 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.007476, allocations: 127.7 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.007646, allocations: 239.6 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.007662, allocations: 4 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.007728, allocations: 39.92 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.175e-05/0.0078, allocations: 83.72 kB / 383.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.007845, allocations: 43.72 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.008047, allocations: 207.1 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.008049, allocations: 0 / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00805, allocations: 0 / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.008054, allocations: 0 / 384.1 MB, free: 18.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004558/0.00851, allocations: 0.7048 MB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.008541, allocations: 8.031 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.008589, allocations: 44.66 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.008744, allocations: 252.8 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.008754, allocations: 4.375 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.008777, allocations: 384 / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.008871, allocations: 70.86 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008881, allocations: 192 / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.008889, allocations: 384 / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008894, allocations: 384 / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.008923, allocations: 15.92 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.009214, allocations: 348.3 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.009268, allocations: 39 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.009285, allocations: 15.77 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.0093, allocations: 0 / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.009313, allocations: 37.39 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.009314, allocations: 0 / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003343/0.009648, allocations: 157.1 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.009668, allocations: 55.34 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.01002, allocations: 0.6079 MB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.01003, allocations: 25.7 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01017, allocations: 298.7 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.01019, allocations: 31.73 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.01023, allocations: 27.36 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.01031, allocations: 0.5547 MB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.01033, allocations: 4 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.01035, allocations: 8 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.01039, allocations: 35.59 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01039, allocations: 0 / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001049/0.0105, allocations: 105.3 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.01051, allocations: 8 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01052, allocations: 0 / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.01052, allocations: 4 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.0106, allocations: 15.98 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.0106, allocations: 0 / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.01064, allocations: 4 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01065, allocations: 4 kB / 387.6 MB, free: 14.96 MB / 314.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 (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 6.282e-05/0.01071, allocations: 164.5 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.01076, allocations: 47.66 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.0109, allocations: 105.8 kB / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.0109, allocations: 0 / 387.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.0109, allocations: 4 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01091, allocations: 7.984 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.0112, allocations: 402 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0112, allocations: 3.938 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.01125, allocations: 15.98 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01125, allocations: 4 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.01126, allocations: 4 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01126, allocations: 0 / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01126, allocations: 0 / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.01138, allocations: 247.5 kB / 388.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.0114, allocations: 47.64 kB / 388.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01142, allocations: 4 kB / 388.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.0115, allocations: 8 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.01152, allocations: 7.984 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.01153, allocations: 0 / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.01174, allocations: 398.7 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01174, allocations: 0 / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01197, allocations: 27.94 kB / 389 MB, free: 13.42 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009346/0.01291, allocations: 379.6 kB / 389.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.014e-05/0.013, allocations: 35.59 kB / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.013, allocations: 0 / 389.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.01303, allocations: 27.67 kB / 389.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01332, allocations: 34.23 kB / 389.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.01389, allocations: 0.5945 MB / 390.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.01395, allocations: 127.1 kB / 390.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.131e-05/0.014, allocations: 13.02 kB / 390.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.01405, allocations: 82.19 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01405, allocations: 4 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of Templates: time 0.004305/0.01835, allocations: 1.675 MB / 392 MB, free: 10.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.4717384171672165]