Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008977/0.0008977, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9603/0.9603, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2629/0.2629, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.452e-05, allocations: 5.922 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002938/0.002972, allocations: 1.678 MB / 324.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004214, allocations: 0.5413 MB / 325.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.004305, allocations: 4 kB / 325.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.004728, allocations: 95.61 kB / 325.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.005128, allocations: 115.5 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.005468, allocations: 99.67 kB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.005697, allocations: 99.67 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.005818, allocations: 24.55 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.005921, allocations: 55.88 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.006025, allocations: 47.88 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.006042, allocations: 8 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006152, allocations: 47.92 kB / 326.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.006209, allocations: 27.91 kB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.006245, allocations: 19.88 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.006419, allocations: 107.5 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006421, allocations: 0 / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006422, allocations: 0 / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.006426, allocations: 0 / 326.2 MB, free: 6.723 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.0003063/0.006733, allocations: 337.3 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.006763, allocations: 12.03 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.00679, allocations: 16.94 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.006929, allocations: 149.5 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.006943, allocations: 8.375 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.00697, allocations: 4.375 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.007106, allocations: 63.7 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.007118, allocations: 192 / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.007134, allocations: 12.06 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.007141, allocations: 4 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.007178, allocations: 13.3 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.007483, allocations: 194.9 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.007566, allocations: 54.55 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.007588, allocations: 12.86 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.007613, allocations: 3.938 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.007636, allocations: 30.56 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.007638, allocations: 0 / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005813/0.008219, allocations: 202.2 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.008253, allocations: 59.39 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.008382, allocations: 189.1 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.008393, allocations: 29.7 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.008441, allocations: 100.1 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.008486, allocations: 51.52 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.008532, allocations: 25.7 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.008642, allocations: 330.7 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.008666, allocations: 8 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.008691, allocations: 16.42 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.608e-05/0.008757, allocations: 50.81 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008758, allocations: 112 / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001076/0.008866, allocations: 77.59 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.00888, allocations: 8 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.008887, allocations: 0 / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.008905, allocations: 4 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.009005, allocations: 23.92 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.009008, allocations: 0 / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.009037, allocations: 4 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.009048, allocations: 7.984 kB / 328.3 MB, free: 4.504 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 7.939e-05/0.009127, allocations: 116.6 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.009167, allocations: 15.98 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.009348, allocations: 96.62 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.009351, allocations: 4 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.009353, allocations: 0 / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.009357, allocations: 3.984 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.009739, allocations: 283.5 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.009744, allocations: 7.984 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.009822, allocations: 20 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.009827, allocations: 4 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.009836, allocations: 3.984 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009838, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.00984, allocations: 4.031 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.009982, allocations: 188.7 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.009998, allocations: 15.91 kB / 329 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01001, allocations: 3.938 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.01008, allocations: 8 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.01011, allocations: 11.92 kB / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01012, allocations: 0 / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.01019, allocations: 65.55 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01019, allocations: 0 / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01042, allocations: 27.92 kB / 329.1 MB, free: 3.574 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.001476/0.0119, allocations: 0.5777 MB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01202, allocations: 44.83 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.01204, allocations: 8 kB / 329.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.01209, allocations: 36.78 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.01234, allocations: 26.98 kB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.01276, allocations: 266.4 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.01281, allocations: 79.27 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.01288, allocations: 28.45 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.01295, allocations: 63.44 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01295, allocations: 0 / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of Templates: time 0.004606/0.01756, allocations: 1.691 MB / 331.9 MB, free: 1.031 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.0136709418147802]