Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001388/0.001388, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.004916/0.004916, allocations: 166.2 kB / 24.91 MB, free: 8.758 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.434 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.2896/0.2896, allocations: 34.86 MB / 296.6 MB, free: 0.5234 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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.076e-05, allocations: 2.312 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002273/0.002294, allocations: 1.736 MB / 327.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.003103, allocations: 0.5446 MB / 328.3 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.003159, allocations: 0 / 328.3 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.003413, allocations: 103.6 kB / 328.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.003648, allocations: 111.5 kB / 328.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.003859, allocations: 91.69 kB / 328.6 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.004004, allocations: 95.75 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.00409, allocations: 28.66 kB / 328.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.004162, allocations: 59.81 kB / 328.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.004249, allocations: 47.88 kB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004265, allocations: 8 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.004338, allocations: 43.92 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.004378, allocations: 27.92 kB / 328.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.004404, allocations: 27.84 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.004547, allocations: 99.59 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004548, allocations: 0 / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004549, allocations: 0 / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004553, allocations: 4 kB / 329 MB, free: 4.086 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003124/0.004865, allocations: 341.4 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.004896, allocations: 8.031 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.00493, allocations: 12.92 kB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.005061, allocations: 145.6 kB / 329.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.005068, allocations: 4.375 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.005087, allocations: 12.31 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.933e-05/0.005176, allocations: 68.02 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005186, allocations: 192 / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.005192, allocations: 384 / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005197, allocations: 4.375 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.005228, allocations: 23.91 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.005449, allocations: 206.9 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.005502, allocations: 34.56 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.00552, allocations: 20.84 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.005535, allocations: 0 / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.005555, allocations: 34.56 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 6.92e-07/0.005555, allocations: 0 / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004586/0.006014, allocations: 209.8 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.006038, allocations: 51.41 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.006148, allocations: 193.1 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.006157, allocations: 25.7 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.006189, allocations: 100.1 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.006218, allocations: 47.53 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.00625, allocations: 29.7 kB / 330.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.006318, allocations: 326.8 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.006335, allocations: 11.98 kB / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.006351, allocations: 11.12 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.006396, allocations: 48.77 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006398, allocations: 7.938 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.076e-05/0.006468, allocations: 69.66 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.00648, allocations: 8 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006484, allocations: 0 / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.006493, allocations: 0 / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.006562, allocations: 23.98 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006564, allocations: 240 / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.006584, allocations: 8 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.006591, allocations: 4.094 kB / 331 MB, free: 1.875 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 (13): * Single equations (assignments): 13 * 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.31e-05/0.006654, allocations: 136.5 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.006675, allocations: 11.98 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.006904, allocations: 91.86 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006906, allocations: 0 / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006907, allocations: 4 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.00691, allocations: 0 / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.007152, allocations: 287.9 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007154, allocations: 0 / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.007201, allocations: 23.98 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007203, allocations: 0 / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.007212, allocations: 12.03 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007213, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007214, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007322, allocations: 189.4 kB / 331.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.007335, allocations: 15.89 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.007348, allocations: 8 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.007382, allocations: 0 / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.007414, allocations: 11.98 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.00742, allocations: 4 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.007468, allocations: 65.48 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007468, allocations: 0 / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.007619, allocations: 31.94 kB / 331.9 MB, free: 0.9297 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 (13): * Single equations (assignments): 13 * 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.001378/0.008996, allocations: 0.5671 MB / 332.5 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.009083, allocations: 48.78 kB / 332.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.009086, allocations: 0 / 332.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.009117, allocations: 36.77 kB / 332.6 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.009284, allocations: 19.98 kB / 332.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.009599, allocations: 263.8 kB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.009641, allocations: 75.27 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.009681, allocations: 20.55 kB / 332.9 MB, free: 132 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.009738, allocations: 71.36 kB / 333 MB, free: 60 kB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.009739, allocations: 0 / 333 MB, free: 60 kB / 298.7 MB Notification: Performance of Templates: time 0.003115/0.01285, allocations: 1.689 MB / 334.7 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.963441870175302]