Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001425/0.001425, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001139/0.001139, allocations: 166.5 kB / 24.99 MB, free: 8.336 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2509/0.2509, allocations: 34.25 MB / 296 MB, free: 0.7734 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 378.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.45e-05, allocations: 6.312 kB / 378.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002245/0.00227, allocations: 1.669 MB / 379.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.003033, allocations: 0.5492 MB / 380.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.003098, allocations: 0 / 380.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.003333, allocations: 47.75 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.0036, allocations: 83.55 kB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.003859, allocations: 115.6 kB / 380.5 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.004011, allocations: 95.69 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004114, allocations: 23.98 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.004176, allocations: 43.89 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.004253, allocations: 31.91 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.004267, allocations: 4 kB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.004354, allocations: 55.91 kB / 380.8 MB, free: 224 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.0044, allocations: 15.92 kB / 380.8 MB, free: 208 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.004431, allocations: 23.91 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.004586, allocations: 95.59 kB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004588, allocations: 0 / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004589, allocations: 4 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004593, allocations: 0 / 380.9 MB, free: 84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003945/0.004988, allocations: 440 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.005021, allocations: 8.031 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.005069, allocations: 16.84 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.00521, allocations: 140.4 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.005221, allocations: 8.375 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.005242, allocations: 8.328 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.005373, allocations: 74.92 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005383, allocations: 192 / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.005393, allocations: 8.125 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.0054, allocations: 0 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.005442, allocations: 19.98 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.005769, allocations: 319.6 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.005851, allocations: 63.05 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.005877, allocations: 19.67 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.005897, allocations: 7.875 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.005921, allocations: 41.39 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005922, allocations: 0 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006226/0.006545, allocations: 229.8 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.006577, allocations: 51.41 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.006695, allocations: 216.8 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.006705, allocations: 33.64 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.006756, allocations: 150.8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.006787, allocations: 39.64 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.006823, allocations: 39.36 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.006926, allocations: 0.4962 MB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.006956, allocations: 11.98 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.006984, allocations: 24.12 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.007052, allocations: 51.67 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.007052, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001135/0.007166, allocations: 93.27 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.00718, allocations: 14.17 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007184, allocations: 4 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.007196, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.007278, allocations: 27.92 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007283, allocations: 3.938 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.007304, allocations: 4 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.007312, allocations: 8 kB / 383.5 MB, free: 13.25 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 (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 6.461e-05/0.007377, allocations: 156.6 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.0074, allocations: 15.91 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.007569, allocations: 130.3 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.007572, allocations: 4 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007576, allocations: 7.938 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.007581, allocations: 7.922 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.007917, allocations: 417 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.00792, allocations: 4 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.007974, allocations: 31.86 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.007976, allocations: 0 / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.007985, allocations: 4 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.007987, allocations: 4 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007988, allocations: 0 / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.008142, allocations: 263.6 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.008152, allocations: 15.84 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.008166, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.008203, allocations: 8 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.008239, allocations: 11.97 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.008245, allocations: 4 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.008308, allocations: 151.2 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008308, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.008487, allocations: 39.8 kB / 384.8 MB, free: 11.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: 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.0009045/0.009392, allocations: 434.4 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.009531, allocations: 63.59 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009532, allocations: 0 / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.009575, allocations: 47.36 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.00979, allocations: 23.92 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.01016, allocations: 238.4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.01021, allocations: 71.34 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.01026, allocations: 36.52 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.0103, allocations: 16.5 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0103, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003331/0.01363, allocations: 1.594 MB / 387.3 MB, free: 9.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.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.139422181993723]