Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.001131/0.001131, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001455/0.001455, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9259/0.9259, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.128/0.128, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.808e-05, allocations: 8.219 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.0022/0.002218, allocations: 1.595 MB / 350.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.00307, allocations: 1.064 MB / 351.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.003126, allocations: 3.938 kB / 351.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.003339, allocations: 23.8 kB / 351.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.003521, allocations: 43.77 kB / 351.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.003725, allocations: 91.75 kB / 351.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003841, allocations: 55.84 kB / 351.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.003925, allocations: 19.97 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.003976, allocations: 19.92 kB / 351.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.004065, allocations: 19.92 kB / 351.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.00408, allocations: 4 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.004166, allocations: 59.83 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.004201, allocations: 7.938 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.004221, allocations: 15.92 kB / 351.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.004355, allocations: 83.67 kB / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004356, allocations: 0 / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004357, allocations: 0 / 352 MB, free: 6.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004361, allocations: 0 / 352 MB, free: 6.055 MB / 282.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.0002663/0.004627, allocations: 408.2 kB / 352.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.004658, allocations: 12.03 kB / 352.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.004687, allocations: 8.938 kB / 352.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.004783, allocations: 136.4 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004794, allocations: 4.375 kB / 352.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.004813, allocations: 4.375 kB / 352.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.004902, allocations: 96.02 kB / 352.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.00491, allocations: 192 / 352.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.004917, allocations: 8.125 kB / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.00492, allocations: 0 / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.004938, allocations: 8 kB / 352.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.005142, allocations: 256.3 kB / 352.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005259, allocations: 35.06 kB / 353 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.005274, allocations: 19.7 kB / 353 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.00529, allocations: 3.984 kB / 353 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.005307, allocations: 45.33 kB / 353 MB, free: 4.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.005308, allocations: 0 / 353 MB, free: 4.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002486/0.005556, allocations: 81.56 kB / 353.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.005579, allocations: 77.11 kB / 353.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.005652, allocations: 188.6 kB / 353.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.005659, allocations: 33.7 kB / 353.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.00569, allocations: 142.8 kB / 353.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.005709, allocations: 19.84 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.00574, allocations: 19.38 kB / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.005795, allocations: 0.4923 MB / 354.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.005805, allocations: 4 kB / 354.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.00583, allocations: 49.08 kB / 354.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/0.005858, allocations: 23.66 kB / 354.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005859, allocations: 0 / 354.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.417e-05/0.005923, allocations: 61.78 kB / 354.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.005936, allocations: 8.031 kB / 354.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005942, allocations: 0 / 354.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.005954, allocations: 4 kB / 354.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.005996, allocations: 15.98 kB / 354.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.006, allocations: 4 kB / 354.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.006017, allocations: 0 / 354.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.006023, allocations: 4 kB / 354.2 MB, free: 3.586 MB / 282.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 4.789e-05/0.006071, allocations: 152.6 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.006093, allocations: 15.88 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.456e-05/0.006177, allocations: 61.81 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006179, allocations: 4 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.006181, allocations: 7.938 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.006185, allocations: 0 / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.006349, allocations: 290 kB / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00635, allocations: 0 / 354.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.006375, allocations: 11.98 kB / 354.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006376, allocations: 0 / 354.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.006381, allocations: 4 kB / 354.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006382, allocations: 3.938 kB / 354.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006383, allocations: 0 / 354.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.302e-05/0.006456, allocations: 211.8 kB / 355 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.006462, allocations: 3.953 kB / 355 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.006474, allocations: 192 / 355 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.006504, allocations: 12 kB / 355 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.006532, allocations: 7.984 kB / 355 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.006535, allocations: 0 / 355 MB, free: 2.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.364e-05/0.006569, allocations: 143.2 kB / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006569, allocations: 0 / 355.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.006742, allocations: 27.92 kB / 355.2 MB, free: 2.582 MB / 282.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.0008479/0.00759, allocations: 423.5 kB / 355.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.488e-05/0.007675, allocations: 35.61 kB / 355.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007677, allocations: 0 / 355.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.007694, allocations: 15.69 kB / 355.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.007883, allocations: 19.92 kB / 355.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.00811, allocations: 154 kB / 355.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.325e-05/0.008134, allocations: 67.33 kB / 355.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.008167, allocations: 7.938 kB / 355.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.008216, allocations: 94.17 kB / 356 MB, free: 1.816 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008216, allocations: 0 / 356 MB, free: 1.816 MB / 282.7 MB Notification: Performance of Templates: time 0.002893/0.01111, allocations: 1.586 MB / 357.6 MB, free: 248 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/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.2076782872900367]