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.001276/0.001276, 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.001421/0.001421, allocations: 165.4 kB / 24.99 MB, free: 8.797 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2624/0.2624, allocations: 34.27 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.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 2.044e-06/2.044e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.151e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003636/0.003668, allocations: 1.653 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004802, allocations: 0.5414 MB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.004882, allocations: 0 / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.005267, allocations: 131.5 kB / 380.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.00566, allocations: 127.5 kB / 380.5 MB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.005992, allocations: 115.6 kB / 380.6 MB, free: 380 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.006229, allocations: 107.7 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.006345, allocations: 11.98 kB / 380.7 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.006453, allocations: 51.88 kB / 380.8 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.006607, allocations: 87.83 kB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.006626, allocations: 4 kB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006734, allocations: 47.92 kB / 380.9 MB, free: 68 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.006796, allocations: 27.91 kB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.006835, allocations: 23.86 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.007066, allocations: 99.66 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.00707, allocations: 0 / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007071, allocations: 0 / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007076, allocations: 0 / 381 MB, free: 15.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005524/0.007628, allocations: 471.6 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.00767, allocations: 12.03 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.007728, allocations: 16.84 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.007945, allocations: 152.4 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.007958, allocations: 384 / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.007984, allocations: 4.375 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.008134, allocations: 58.94 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008145, allocations: 192 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.008157, allocations: 8.125 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.008165, allocations: 4 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.008202, allocations: 11.92 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.008548, allocations: 311.7 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.008616, allocations: 39.05 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.008643, allocations: 27.56 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.008662, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.008684, allocations: 33.39 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.008685, allocations: 0 / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005765/0.009262, allocations: 185.5 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.009298, allocations: 51.41 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.009476, allocations: 274.8 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.009488, allocations: 29.7 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.009555, allocations: 170.8 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.009582, allocations: 27.75 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.009616, allocations: 35.3 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.009735, allocations: 0.504 MB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.00976, allocations: 8 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.00978, allocations: 15.98 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.009835, allocations: 35.62 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.009836, allocations: 0 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.637e-05/0.009932, allocations: 81.66 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.009946, allocations: 5.875 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.009951, allocations: 4 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.009966, allocations: 4 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.01004, allocations: 15.98 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01005, allocations: 0 / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.01007, allocations: 11.94 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.01008, allocations: 0 / 383.6 MB, free: 13.14 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 (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 7.398e-05/0.01015, allocations: 164.5 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.01017, allocations: 19.91 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.01032, allocations: 79.14 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01032, allocations: 4 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01032, allocations: 0 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01033, allocations: 7.984 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.01065, allocations: 397.3 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01065, allocations: 3.984 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.01069, allocations: 15.94 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01069, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01071, allocations: 4 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01071, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01071, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.01085, allocations: 243.4 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.01087, allocations: 15.98 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.01088, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.01092, allocations: 4 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01095, allocations: 15.86 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01096, allocations: 4 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.01105, allocations: 192.1 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.01123, allocations: 23.94 kB / 384.8 MB, free: 11.89 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 (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.0009519/0.01218, allocations: 436.6 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.0123, allocations: 51.59 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01231, allocations: 4 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.01234, allocations: 23.67 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01258, allocations: 30.89 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.01298, allocations: 275 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.01302, allocations: 79.33 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.01307, allocations: 21.08 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.01309, allocations: 16.5 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0131, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.00345/0.01655, allocations: 1.427 MB / 387.1 MB, free: 9.652 MB / 362.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: 3.1746386159211397]