Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001054/0.001054, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009205/0.0009205, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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.9281/0.9281, allocations: 177 MB / 204.8 MB, free: 5.586 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.2936/0.2936, allocations: 34.87 MB / 296.3 MB, free: 0.5273 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.193e-05, allocations: 3.016 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002657/0.002689, allocations: 1.647 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.00343, allocations: 0.5447 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.003494, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.00379, allocations: 107.6 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.004099, allocations: 131.4 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.004364, allocations: 91.69 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.004532, allocations: 95.67 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.004631, allocations: 12 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.004705, allocations: 47.88 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.004816, allocations: 71.84 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004831, allocations: 4 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.004916, allocations: 43.92 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.004964, allocations: 31.91 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.004994, allocations: 11.94 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.00516, allocations: 103.5 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005164, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005165, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.005171, allocations: 0 / 381.7 MB, free: 15.12 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.0004172/0.005588, allocations: 451.8 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.005623, allocations: 8.031 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.00567, allocations: 20.83 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.005812, allocations: 149.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.005823, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.005843, allocations: 8.375 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.005956, allocations: 66.81 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.005964, allocations: 192 / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005973, allocations: 384 / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.005982, allocations: 8.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.006012, allocations: 11.92 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.006304, allocations: 299.7 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.00637, allocations: 39.08 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.006395, allocations: 23.75 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.006412, allocations: 4 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.006433, allocations: 41.33 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.006434, allocations: 0 / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.006973, allocations: 173.2 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.007001, allocations: 55.41 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.007155, allocations: 259.1 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.007166, allocations: 29.7 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.007224, allocations: 158.9 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.00725, allocations: 31.73 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.007287, allocations: 31.38 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007398, allocations: 0.4962 MB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.007423, allocations: 15.92 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.007439, allocations: 8 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.007492, allocations: 35.67 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007494, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.2e-05/0.007586, allocations: 81.52 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.007597, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007601, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.007613, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.007691, allocations: 23.92 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.007696, allocations: 320 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.007716, allocations: 8 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.007722, allocations: 4 kB / 384.2 MB, free: 12.39 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.503e-05/0.007787, allocations: 152.6 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.007811, allocations: 27.78 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.007948, allocations: 87.11 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.007952, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007955, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007958, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.008255, allocations: 396.9 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008257, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.008296, allocations: 12 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.0083, allocations: 3.984 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008308, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.008311, allocations: 4 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.008311, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.00844, allocations: 243.4 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.008451, allocations: 11.91 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.008463, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.008498, allocations: 8.016 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.008527, allocations: 8 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.008533, allocations: 7.984 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.01e-05/0.008613, allocations: 179.2 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008613, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000165/0.008778, allocations: 19.94 kB / 385.4 MB, free: 11.16 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.0009472/0.009725, allocations: 442.1 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.009867, allocations: 47.59 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.00987, allocations: 4 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.505e-05/0.009915, allocations: 31.66 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01017, allocations: 19.98 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.01054, allocations: 245.5 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.01059, allocations: 75.27 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.01062, allocations: 8.734 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.01065, allocations: 28.55 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01066, allocations: 0 / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003641/0.0143, allocations: 1.481 MB / 387.7 MB, free: 8.879 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.0006863507442176]