Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.000982/0.000982, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00127/0.00127, allocations: 157.3 kB / 24.99 MB, free: 8.262 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.9836/0.9836, allocations: 177 MB / 205.2 MB, free: 5.609 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.2854/0.2854, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.714e-05, allocations: 2.312 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002277/0.002304, allocations: 1.663 MB / 380.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.003123, allocations: 0.5408 MB / 381 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.003178, allocations: 0 / 381 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.00342, allocations: 83.58 kB / 381 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.003656, allocations: 95.59 kB / 381.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.003886, allocations: 115.6 kB / 381.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.004035, allocations: 95.75 kB / 381.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.004135, allocations: 11.98 kB / 381.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.0042, allocations: 43.89 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.0043, allocations: 51.88 kB / 381.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.004314, allocations: 4 kB / 381.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.004393, allocations: 47.91 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.004439, allocations: 23.92 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.004467, allocations: 11.94 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004614, allocations: 95.59 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004616, allocations: 3.938 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004617, allocations: 4 kB / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.004622, allocations: 0 / 381.6 MB, free: 15.51 MB / 362.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.0003829/0.005005, allocations: 439.9 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.005038, allocations: 8.031 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.005082, allocations: 20.84 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.00522, allocations: 145.1 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.00523, allocations: 4.375 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.005249, allocations: 384 / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.00536, allocations: 66.88 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005371, allocations: 4.125 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.005379, allocations: 4.375 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005387, allocations: 4.375 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.005422, allocations: 15.92 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.005712, allocations: 299.7 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/0.005774, allocations: 46.98 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.005797, allocations: 15.77 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.005815, allocations: 0 / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.005836, allocations: 37.33 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005837, allocations: 0 / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005214/0.006358, allocations: 173.3 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.006387, allocations: 55.41 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.006525, allocations: 242.4 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.006534, allocations: 25.7 kB / 383.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.006586, allocations: 154.9 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.00661, allocations: 27.75 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.006642, allocations: 27.36 kB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.006742, allocations: 0.4962 MB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.006764, allocations: 8 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.703e-05/0.006781, allocations: 15.94 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.006829, allocations: 35.67 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.00683, allocations: 0 / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.82e-05/0.006918, allocations: 85.59 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.00693, allocations: 4 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006934, allocations: 0 / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006945, allocations: 0 / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.007013, allocations: 19.92 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007018, allocations: 4.312 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.007036, allocations: 0 / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.007042, allocations: 4 kB / 384.1 MB, free: 12.85 MB / 362.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.487e-05/0.007107, allocations: 160.6 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.007129, allocations: 23.78 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.007263, allocations: 91.11 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007266, allocations: 4 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.007269, allocations: 0 / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007272, allocations: 0 / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.00755, allocations: 377 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007551, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.00759, allocations: 15.94 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.007594, allocations: 8.031 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.0076, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.007603, allocations: 7.984 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007605, allocations: 0 / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.007721, allocations: 243.5 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-06/0.007729, allocations: 11.89 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.007742, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.007776, allocations: 4 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.007806, allocations: 7.984 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.007811, allocations: 4 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.044e-05/0.007881, allocations: 171.1 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007881, allocations: 4 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.008053, allocations: 27.88 kB / 385.2 MB, free: 11.62 MB / 362.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.0008414/0.008894, allocations: 424.3 kB / 385.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.008997, allocations: 47.58 kB / 385.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008999, allocations: 4 kB / 385.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.00903, allocations: 23.67 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.009248, allocations: 23.94 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.009585, allocations: 237.9 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.009626, allocations: 75.27 kB / 386 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.989e-05/0.009666, allocations: 12.72 kB / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.009694, allocations: 20.48 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009695, allocations: 0 / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003034/0.01273, allocations: 1.411 MB / 387.5 MB, free: 9.445 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.076026471098885]