Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001327/0.001327, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001671/0.001671, allocations: 163.6 kB / 24.99 MB, free: 8.254 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.9839/0.9839, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.289/0.289, allocations: 34.26 MB / 296 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test30,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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.298e-05, allocations: 2.312 kB / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002255/0.002268, allocations: 1.653 MB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.003006, allocations: 0.5298 MB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.003055, allocations: 4 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.003252, allocations: 79.64 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.003481, allocations: 103.5 kB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.003678, allocations: 95.62 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.003808, allocations: 87.69 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.003885, allocations: 11.98 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.003947, allocations: 47.89 kB / 380.6 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.004044, allocations: 55.86 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.004056, allocations: 4 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.004137, allocations: 47.92 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.004177, allocations: 19.92 kB / 380.8 MB, free: 176 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.004203, allocations: 15.92 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.004344, allocations: 95.66 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004346, allocations: 0 / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004346, allocations: 0 / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.004349, allocations: 3.938 kB / 380.9 MB, free: 60 kB / 346.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.0003531/0.004702, allocations: 435.9 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004731, allocations: 8.031 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.004769, allocations: 20.84 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.004905, allocations: 149.1 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.004913, allocations: 4.375 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.00493, allocations: 4.375 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.005021, allocations: 54.95 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.00503, allocations: 4.188 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.005038, allocations: 4.125 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005044, allocations: 3.938 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.005076, allocations: 11.98 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.00534, allocations: 291.7 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.005401, allocations: 50.98 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.005427, allocations: 23.7 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.00544, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.00546, allocations: 37.39 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005461, allocations: 0 / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004825/0.005943, allocations: 169.2 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.00597, allocations: 51.41 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.006124, allocations: 242.4 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006135, allocations: 29.7 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.006197, allocations: 158.8 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.006223, allocations: 31.81 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.00626, allocations: 27.36 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.006391, allocations: 0.5 MB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.006413, allocations: 8 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.006435, allocations: 15.92 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.006489, allocations: 35.69 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.00649, allocations: 0 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.94e-05/0.006589, allocations: 77.59 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.0066, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006603, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.006612, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.006677, allocations: 15.98 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006681, allocations: 7.938 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.006709, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006716, allocations: 4 kB / 383.3 MB, free: 13.4 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 7.034e-05/0.006786, allocations: 156.5 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.006821, allocations: 23.89 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.006953, allocations: 83.12 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006955, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.006957, allocations: 8 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00696, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.007287, allocations: 381.4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007288, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.007334, allocations: 15.94 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007335, allocations: 0 / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007344, allocations: 8 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007347, allocations: 3.984 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007348, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.007493, allocations: 235.5 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.007503, allocations: 11.89 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007517, allocations: 4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.576e-05/0.007573, allocations: 11.92 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.007598, allocations: 7.938 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.007603, allocations: 4 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.007694, allocations: 167.1 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.007695, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.007931, allocations: 16 kB / 384.4 MB, free: 12.2 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.001065/0.008996, allocations: 442.2 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.009097, allocations: 43.61 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009099, allocations: 0 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.009135, allocations: 27.67 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.009345, allocations: 27.88 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.009665, allocations: 229.8 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.009706, allocations: 75.33 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.009739, allocations: 17.09 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.009765, allocations: 12.5 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009765, allocations: 0 / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of Templates: time 0.002667/0.01243, allocations: 1.368 MB / 386.7 MB, free: 10.08 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.132685448974371]