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.0009341/0.0009341, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001036/0.001036, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.8939/0.8939, allocations: 177.1 MB / 206 MB, free: 4.496 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.137/0.137, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.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 6.71e-07/6.71e-07, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.147e-06, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001523/0.001532, allocations: 1.661 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000549/0.002081, allocations: 0.5492 MB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.002127, allocations: 0 / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.002278, allocations: 39.77 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.002442, allocations: 87.55 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.002608, allocations: 115.6 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.62e-05/0.002704, allocations: 87.77 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.002771, allocations: 27.91 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.002815, allocations: 43.91 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.002872, allocations: 35.89 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.002883, allocations: 4 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.002936, allocations: 51.86 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.002967, allocations: 23.91 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.002985, allocations: 19.92 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.725e-05/0.003083, allocations: 95.64 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003084, allocations: 0 / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003085, allocations: 0 / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003088, allocations: 0 / 382.1 MB, free: 20.53 MB / 314.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.0002381/0.003326, allocations: 443.9 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.323e-05/0.00335, allocations: 8.031 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.003377, allocations: 12.89 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.537e-05/0.003462, allocations: 146.3 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.003471, allocations: 8.375 kB / 382.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.003484, allocations: 4.375 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.003555, allocations: 70.94 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.003564, allocations: 8.125 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.003571, allocations: 8.125 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003576, allocations: 0 / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.0036, allocations: 19.92 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.003785, allocations: 288.3 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.003839, allocations: 62.91 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.003854, allocations: 15.67 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.003866, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.003878, allocations: 41.33 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 5.91e-07/0.003879, allocations: 0 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004072/0.004286, allocations: 225.8 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.004301, allocations: 51.41 kB / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.00436, allocations: 205 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.004367, allocations: 29.7 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.00439, allocations: 146.8 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.004411, allocations: 51.58 kB / 383.9 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.004439, allocations: 35.34 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.004475, allocations: 0.4923 MB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.004491, allocations: 11.98 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.004508, allocations: 15.38 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.004548, allocations: 43.67 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.004549, allocations: 4 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.896e-05/0.004628, allocations: 93.58 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.004635, allocations: 7.984 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.004639, allocations: 0 / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.004646, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.004705, allocations: 27.98 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.004707, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.004724, allocations: 3.938 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.00473, allocations: 4 kB / 384.7 MB, free: 17.79 MB / 314.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 4.325e-05/0.004773, allocations: 168.5 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.004797, allocations: 27.91 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.004909, allocations: 110.9 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.004911, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004912, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.004915, allocations: 3.938 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.005133, allocations: 393.5 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005134, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.005177, allocations: 27.92 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.005178, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.005184, allocations: 15.97 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005185, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005186, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.637e-05/0.005273, allocations: 258.1 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.00528, allocations: 11.91 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.005291, allocations: 7.938 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.38e-05/0.005325, allocations: 4 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.005344, allocations: 11.97 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.005348, allocations: 0 / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.005375, allocations: 151.2 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005375, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.005535, allocations: 31.98 kB / 385.9 MB, free: 16.52 MB / 314.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.0007958/0.006331, allocations: 439.2 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.412e-05/0.006415, allocations: 55.59 kB / 386.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006416, allocations: 0 / 386.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.006445, allocations: 47.53 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.006632, allocations: 33.09 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.006874, allocations: 236.3 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.463e-05/0.006898, allocations: 71.2 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.006936, allocations: 20.47 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.006985, allocations: 90.19 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of SimCode: time 3.7e-07/0.006986, allocations: 0 / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of Templates: time 0.00264/0.009626, allocations: 1.774 MB / 388.6 MB, free: 13.9 MB / 314.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.0070691257715225]