Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001305/0.001305, 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.001474/0.001474, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9034/0.9034, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1454/0.1454, allocations: 34.27 MB / 296.9 MB, free: 13.91 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.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.963e-06/7.734e-06, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001492/0.001499, allocations: 1.634 MB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.002014, allocations: 0.5414 MB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.00205, allocations: 4 kB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.002206, allocations: 123.6 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.002378, allocations: 131.5 kB / 381.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.002545, allocations: 115.5 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.002637, allocations: 99.73 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.002686, allocations: 15.97 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.002732, allocations: 55.89 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.002803, allocations: 91.8 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.002813, allocations: 4 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.002868, allocations: 47.86 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.002896, allocations: 23.94 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.002914, allocations: 23.86 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.892e-05/0.003013, allocations: 99.64 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.003014, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.7e-07/0.003014, allocations: 0 / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.495e-06/0.003017, allocations: 0 / 382.3 MB, free: 20.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002045/0.003221, allocations: 471.6 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.105e-05/0.003242, allocations: 12.03 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.003266, allocations: 20.84 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.332e-05/0.003339, allocations: 152.3 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-06/0.003344, allocations: 384 / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.003356, allocations: 8.359 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.254e-05/0.003408, allocations: 54.95 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.003414, allocations: 192 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.00342, allocations: 12.11 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-06/0.003422, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.00344, allocations: 11.97 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.003591, allocations: 276.3 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/0.003626, allocations: 47.03 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.003638, allocations: 11.69 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.003646, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.777e-06/0.003655, allocations: 37.42 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.003656, allocations: 0 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003627/0.004018, allocations: 161.3 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.227e-05/0.004031, allocations: 51.41 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.004115, allocations: 270.7 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-06/0.00412, allocations: 29.7 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.004159, allocations: 174.8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.004173, allocations: 23.75 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.004197, allocations: 31.3 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.004235, allocations: 0.504 MB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.004247, allocations: 8 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.004259, allocations: 15.97 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.004288, allocations: 27.69 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.004288, allocations: 3.938 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.095e-05/0.004349, allocations: 73.53 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.004357, allocations: 8 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.004359, allocations: 0 / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.004363, allocations: 4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.004411, allocations: 19.98 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.004413, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.00443, allocations: 4 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.004434, allocations: 0 / 384.8 MB, free: 17.68 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 (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 3.626e-05/0.00447, allocations: 168.5 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.004492, allocations: 15.91 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.412e-05/0.004576, allocations: 91.38 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004578, allocations: 4 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.004579, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004582, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.004814, allocations: 361.5 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.004815, allocations: 0 / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.004852, allocations: 15.98 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004853, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.004858, allocations: 4 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.004859, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00486, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.089e-05/0.004931, allocations: 247.4 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.00494, allocations: 12.33 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.004949, allocations: 0 / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.004985, allocations: 8 kB / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.005001, allocations: 7.984 kB / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005004, allocations: 0 / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.005049, allocations: 184.1 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005049, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.005286, allocations: 27.88 kB / 385.9 MB, free: 16.48 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 (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.0007691/0.006055, allocations: 446.1 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.006121, allocations: 39.64 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006122, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.006142, allocations: 23.62 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.0001814/0.006323, allocations: 34.62 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.0002271/0.006551, allocations: 257.4 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.006576, allocations: 83.23 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.006606, allocations: 16.72 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.006645, allocations: 82.19 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 4.2e-07/0.006646, allocations: 0 / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Templates: time 0.002443/0.009088, allocations: 1.57 MB / 388.4 MB, free: 14.06 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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: 2.8729723687283695]