Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.00095/0.00095, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009528/0.0009528, allocations: 161 kB / 24.55 MB, free: 16 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 1.077/1.077, allocations: 177.1 MB / 205 MB, free: 5.258 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.2696/0.2696, allocations: 34.26 MB / 295.7 MB, free: 0.6367 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.503e-05, allocations: 2.312 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002749/0.002784, allocations: 1.769 MB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.004201, allocations: 1.013 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.004311, allocations: 3.938 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.004671, allocations: 47.77 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.005029, allocations: 111.5 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.00524, allocations: 75.61 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.005409, allocations: 111.6 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.005513, allocations: 4 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.12e-05/0.005604, allocations: 55.83 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.005683, allocations: 27.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.005702, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.005793, allocations: 43.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.005855, allocations: 31.86 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.005899, allocations: 23.91 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.006101, allocations: 115.5 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006104, allocations: 4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006106, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006111, 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.0005185/0.006629, allocations: 475.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.006676, allocations: 12.03 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.006737, allocations: 16.84 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.006976, allocations: 169.2 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.007001, allocations: 4.375 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.007031, allocations: 384 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.007196, allocations: 62.94 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.007212, allocations: 7.938 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.007224, allocations: 0 / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.007233, allocations: 3.938 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.007278, allocations: 15.98 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.007685, allocations: 303.8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.007815, allocations: 51.11 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.007854, allocations: 23.62 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.00787, allocations: 0 / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.007988, allocations: 65.05 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007989, allocations: 4 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004524/0.008442, allocations: 169.2 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.008477, allocations: 51.41 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.008658, allocations: 273.6 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.008674, allocations: 29.7 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.008746, allocations: 162.9 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.008778, allocations: 35.7 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.008819, allocations: 27.38 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.008959, allocations: 0.504 MB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.008991, allocations: 11.98 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.00903, allocations: 39.36 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.009094, allocations: 51.38 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.009096, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001224/0.009218, allocations: 97.52 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.009233, allocations: 8 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.009238, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.009254, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.009336, allocations: 15.94 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.009344, allocations: 4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.009377, allocations: 8.016 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.009385, allocations: 4 kB / 384.2 MB, free: 12.23 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 8.817e-05/0.009473, allocations: 168.5 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.009493, allocations: 15.91 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.009668, allocations: 111 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009671, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.009675, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009678, allocations: 0 / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.01003, allocations: 409 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01003, allocations: 4.031 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.01006, allocations: 16.31 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01007, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.01008, allocations: 7.984 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.01008, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01008, allocations: 4 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.01025, allocations: 259.4 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.01026, allocations: 11.91 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01028, allocations: 4 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.01033, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.01037, allocations: 11.98 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01038, allocations: 7.938 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.01048, allocations: 200.5 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01048, allocations: 0 / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.01066, allocations: 27.92 kB / 385.4 MB, free: 10.9 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.0009554/0.01162, allocations: 437.7 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.01176, allocations: 55.58 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01176, allocations: 0 / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.01181, allocations: 35.73 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01207, allocations: 32.2 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.01248, allocations: 262.4 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.718e-05/0.01253, allocations: 71.33 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.01256, allocations: 16.97 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.0126, allocations: 20.5 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0126, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004087/0.01669, allocations: 1.889 MB / 388.2 MB, free: 8.227 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.3994840341620147]