Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.00105/0.00105, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009905/0.0009905, allocations: 165.4 kB / 24.56 MB, free: 20 kB / 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.969/0.969, allocations: 177.1 MB / 205 MB, free: 5.617 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.2523/0.2523, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.107e-05, allocations: 5.969 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003426/0.003457, allocations: 1.77 MB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004719, allocations: 1.013 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.00482, allocations: 7.938 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.00514, allocations: 43.75 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.005464, allocations: 103.5 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.005691, allocations: 83.66 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.005862, allocations: 111.5 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.005955, allocations: 8 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.006044, allocations: 55.83 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.006124, allocations: 27.91 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.006139, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.006226, allocations: 47.86 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.006281, allocations: 27.86 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.006327, allocations: 23.92 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.006525, allocations: 115.6 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.006529, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.006531, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006536, allocations: 0 / 381.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004806/0.007016, allocations: 475.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.007055, allocations: 12.02 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.007107, allocations: 16.84 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.007282, allocations: 169.2 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.007301, allocations: 384 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.00732, allocations: 8.375 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.007443, allocations: 66.94 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.007454, allocations: 3.938 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.007463, allocations: 0 / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.007471, allocations: 0 / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.007504, allocations: 11.98 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.007818, allocations: 295.8 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.007933, allocations: 59.16 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.007964, allocations: 15.62 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.007976, allocations: 4 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.008077, allocations: 73.05 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.008079, allocations: 7.922 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003864/0.008466, allocations: 169.2 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.008506, allocations: 63.33 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.00868, allocations: 273.6 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.008698, allocations: 25.7 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.008776, allocations: 166.9 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.008809, allocations: 23.8 kB / 383.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.008851, allocations: 31.36 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.008976, allocations: 0.4962 MB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.009005, allocations: 23.98 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.009037, allocations: 23.38 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.009099, allocations: 67.3 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.0091, allocations: 0 / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.009208, allocations: 85.59 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.009221, allocations: 4 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009226, allocations: 4 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.009239, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.00931, allocations: 19.92 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.009315, allocations: 4.031 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.009347, allocations: 8 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.009356, allocations: 4 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.142e-05/0.009427, allocations: 164.5 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.009444, allocations: 19.91 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.009598, allocations: 111 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.0096, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.009603, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009606, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.009891, allocations: 413 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009893, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.009921, allocations: 8 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009924, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.009932, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.009934, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009935, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.01008, allocations: 263.4 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.01009, allocations: 19.89 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01011, allocations: 4.312 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.01015, allocations: 7.969 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.01018, allocations: 11.98 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.01019, allocations: 12 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.135e-05/0.01029, allocations: 196.5 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01046, allocations: 23.94 kB / 385.4 MB, free: 10.91 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000936/0.0114, allocations: 447 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.01153, allocations: 51.61 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01153, allocations: 64 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.01157, allocations: 39.61 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.01181, allocations: 41.47 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.01217, allocations: 258.5 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.01222, allocations: 71.33 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.01225, allocations: 12.97 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.01228, allocations: 16.5 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01228, allocations: 4.062 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004369/0.01665, allocations: 2.028 MB / 388.4 MB, free: 8.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.29077852005139]