Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00115/0.00115, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001173/0.001173, allocations: 166.8 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.028/1.028, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2873/0.2873, allocations: 32.81 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.162e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00302/0.003052, allocations: 1.645 MB / 377.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004772, allocations: 1.274 MB / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.004852, allocations: 0 / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.005103, allocations: 27.8 kB / 379 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.005482, allocations: 91.47 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.005815, allocations: 107.7 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.005971, allocations: 75.75 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.006075, allocations: 11.94 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.006139, allocations: 35.84 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.006234, allocations: 23.97 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.006249, allocations: 4 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.006409, allocations: 91.81 kB / 379.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.006456, allocations: 15.92 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.006484, allocations: 11.98 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.006723, allocations: 139.5 kB / 379.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006726, allocations: 0 / 379.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006727, allocations: 0 / 379.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006732, allocations: 0 / 379.6 MB, free: 1.414 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004413/0.007173, allocations: 428 kB / 380 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.007213, allocations: 8.031 kB / 380 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.00727, allocations: 16.89 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.007443, allocations: 132.5 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.007455, allocations: 8.312 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.007476, allocations: 384 / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.007631, allocations: 104 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.007642, allocations: 4.188 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.007653, allocations: 8.062 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007661, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.007691, allocations: 8 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.007992, allocations: 279.7 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.008146, allocations: 43.14 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.008168, allocations: 15.67 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.008186, allocations: 3.938 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.008211, allocations: 41.39 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.008212, allocations: 4 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003675/0.00858, allocations: 97.41 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.008632, allocations: 77.11 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.008767, allocations: 203.8 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.00878, allocations: 25.7 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.008829, allocations: 142.9 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.008849, allocations: 15.84 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.008882, allocations: 27.38 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.008993, allocations: 0.4884 MB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.009012, allocations: 7.938 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.009062, allocations: 61.14 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.009114, allocations: 23.67 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009115, allocations: 0 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.009233, allocations: 61.62 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.009251, allocations: 8 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009256, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.00927, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.009335, allocations: 11.94 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.009341, allocations: 0 / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.009382, allocations: 11.94 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.009389, allocations: 0 / 381.9 MB, free: 14.84 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 (5): * Single equations (assignments): 5 * 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.819e-05/0.009477, allocations: 160.6 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.009506, allocations: 15.89 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.009637, allocations: 66.08 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.009641, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.009644, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009648, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.009891, allocations: 325.3 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.009893, allocations: 320 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.009929, allocations: 12 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009932, allocations: 4 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.00994, allocations: 7.984 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.009942, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.009943, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.01005, allocations: 215.8 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.01006, allocations: 3.953 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.01008, allocations: 4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.01011, allocations: 4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.01014, allocations: 3.984 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.01014, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.01021, allocations: 145.5 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01021, allocations: 4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002081/0.01042, allocations: 43.86 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001006/0.01142, allocations: 495.1 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.01153, allocations: 35.55 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01153, allocations: 4 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.01155, allocations: 15.69 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01177, allocations: 27.92 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.0121, allocations: 165.9 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.01213, allocations: 59.34 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.01218, allocations: 15.97 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.01222, allocations: 28.48 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01222, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003583/0.0158, allocations: 1.838 MB / 385.5 MB, free: 11.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.326182928169146]